/* Dribbble-inspired: light canvas, pink accent, shot grid, soft cards */

:root {
  --pink: #ea4c89;
  --pink-hover: #f06da3;
  --pink-soft: rgba(234, 76, 137, 0.12);
  --ink: #0d0c22;
  --ink-muted: #6e6d7a;
  --ink-light: #9e9ea7;
  --bg: #fffdfa;
  --bg-subtle: #f8f7f4;
  --border: #ece8e3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(13, 12, 34, 0.06);
  --shadow-md: 0 18px 45px rgba(13, 12, 34, 0.08);
  --shadow-hover: 0 22px 55px rgba(234, 76, 137, 0.22);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
  --max: 1200px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.nav-main {
  display: flex;
  gap: 28px;
  margin-right: 0;
}

.header-search {
  flex: 1 1 200px;
  max-width: 280px;
  min-width: 0;
  margin-left: auto;
}

.header-search--mobile {
  display: none;
  flex: none;
  max-width: none;
  width: 100%;
  margin: 0 0 4px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  height: 42px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition), max-width var(--transition);
}

.search-field.is-focused,
.search-field:focus-within {
  background: var(--bg);
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.search-icon {
  flex-shrink: 0;
  color: var(--ink-light);
}

.search-field:focus-within .search-icon {
  color: var(--pink);
}

.header-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.header-search input[type="search"]::placeholder {
  color: var(--ink-light);
  font-weight: 500;
}

.header-search input[type="search"]:focus {
  outline: none;
}

.header-search input[type="search"]::-webkit-search-cancel-button,
.header-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.search-clear:hover {
  background: var(--pink);
  color: #fff;
}

.search-clear[hidden] {
  display: none;
}

.search-kbd {
  flex-shrink: 0;
  padding: 3px 6px;
  font-size: 0.625rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--ink-light);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  line-height: 1.2;
}

.search-field:has(.search-clear:not([hidden])) .search-kbd {
  display: none;
}

.section-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 1 220px;
}

.search-status {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pink);
  text-align: right;
  line-height: 1.35;
}

.search-status[hidden] {
  display: none;
}

html[data-lang="en"] .section-head-meta,
html[data-lang="pt"] .section-head-meta {
  flex: 0 1 260px;
}

.nav-main a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.nav-main a:hover {
  color: var(--pink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions > .btn-primary {
  display: none;
}

.lang-switcher {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-subtle);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang-switcher--mobile {
  align-self: flex-start;
  margin-bottom: 8px;
}

.lang-btn {
  padding: 6px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

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

.lang-btn.active {
  background: var(--bg);
  color: var(--pink);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav a {
  font-weight: 600;
  color: var(--ink-muted);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

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

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

.btn-primary:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}

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

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

.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-highlight {
  color: var(--pink);
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 480px;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

html:not([data-lang="zh"]) .contact-wechat-line {
  display: none;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

html[data-lang="en"] .hero-stats,
html[data-lang="pt"] .hero-stats {
  gap: 20px 28px;
}

.hero-stats > div {
  min-width: 72px;
}

html[data-lang="pt"] .hero-stats > div {
  min-width: 88px;
}

html[data-lang="pt"] .hero-stats span,
html[data-lang="en"] .hero-stats span {
  display: block;
  max-width: 120px;
  line-height: 1.3;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-stats span {
  font-size: 0.8125rem;
  color: var(--ink-light);
  font-weight: 600;
}

.hero-visual {
  width: 100%;
  min-width: 300px;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  min-height: 340px;
  margin-inline: auto;
}

.hero-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 12px;
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}

.hero-card--lead {
  grid-row: 1 / -1;
  grid-column: 1;
  animation-delay: 0s;
}

.hero-card--top {
  grid-column: 2;
  grid-row: 1;
  animation-delay: -2s;
}

.hero-card--bottom {
  grid-column: 2;
  grid-row: 2;
  animation-delay: -4s;
}

.hero-card-thumb {
  flex: 1 1 auto;
  width: 100%;
  min-height: 88px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    hsl(var(--hue, 330) 80% 65%),
    hsl(calc(var(--hue, 330) + 40) 70% 55%)
  );
}

.hero-card-label {
  margin: 10px 0 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-lang="zh"] .hero-card-label {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

html[data-lang="en"] .hero-card-label,
html[data-lang="pt"] .hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

html[data-lang="pt"] .hero-card--lead .hero-card-label {
  font-size: 0.6875rem;
}

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

/* Featured case */
.featured-case {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 92px;
}

.featured-case-inner {
  display: grid;
  gap: 26px;
}

.featured-case-head {
  max-width: 680px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.featured-case-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.featured-case-head p:not(.section-kicker) {
  margin: 0;
  max-width: 560px;
  color: var(--ink-muted);
  font-size: 1rem;
}

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  min-height: 460px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(13, 12, 34, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(234, 76, 137, 0.22), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(255, 201, 120, 0.2), transparent 28%),
    #fff;
  box-shadow: 0 28px 70px rgba(13, 12, 34, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 86px rgba(13, 12, 34, 0.16);
}

.featured-media {
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
}

.featured-media img {
  width: 100%;
  height: 100%;
  min-height: 424px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-media img {
  transform: scale(1.035);
}

.featured-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(13, 12, 34, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.featured-label {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 800;
}

.featured-panel h3 {
  margin: 32px 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.featured-panel p {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.featured-tags li {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 800;
}

.featured-footer span:last-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

/* Shots grid — Dribbble masonry feel */
.shots-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 100px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.tabs-wrap {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-wrap::-webkit-scrollbar {
  display: none;
}

.tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 4px;
  background: var(--bg-subtle);
  border-radius: 999px;
  border: 1px solid var(--border);
  width: max-content;
  max-width: 100%;
}

.tab {
  flex: 0 0 auto;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

html[data-lang="en"] .tab,
html[data-lang="pt"] .tab {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

html[data-lang="zh"] .tab {
  padding: 8px 16px;
}

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

.tab.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.section-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-light);
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
}

.section-sub[hidden] {
  display: none;
}

html[data-lang="en"] .section-sub,
html[data-lang="pt"] .section-sub {
  font-size: 0.8125rem;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.shot-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.shot-card.is-hidden {
  display: none;
}

.shot-link {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--shot-bg, var(--bg-subtle));
}

.shot-media {
  position: relative;
  overflow: hidden;
  background: var(--shot-bg, var(--bg-subtle));
}

.shot-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.shot-link:hover .shot-media img {
  transform: scale(1.04);
}

.shot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 12, 34, 0.85) 0%, transparent 55%);
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.shot-link:hover .shot-overlay {
  opacity: 1;
}

.shot-overlay h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.shot-overlay p {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.shot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 4px 0;
  gap: 8px;
}

.shot-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.shot-author > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-stats {
  display: flex;
  gap: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-light);
}

.empty-state {
  text-align: center;
  color: var(--ink-muted);
  padding: 48px;
}

/* Services */
.services {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 24px;
}

.services-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.services h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services-lead {
  margin: 0 0 40px;
  color: var(--ink-muted);
  max-width: 520px;
}

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* About */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  gap: 56px;
  align-items: start;
}

.about h2 {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 800;
}

.about-text p {
  margin: 0 0 24px;
  color: var(--ink-muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-tags li {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.about-process {
  min-width: 0;
}

.about-process h3 {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 800;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.process-list li:last-child {
  border-bottom: none;
}

.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-soft);
  color: var(--pink);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.step-text {
  margin: 0;
  padding-top: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-muted);
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

html[data-lang="en"] .step-text,
html[data-lang="pt"] .step-text {
  font-size: 0.875rem;
  line-height: 1.5;
}

html[data-lang="zh"] .step-text {
  font-size: 0.9375rem;
}

/* CTA */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding: 88px 24px;
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
}

.cta-inner > p {
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  text-align: left;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  min-height: 1.25em;
  color: var(--pink-hover);
}

.cta-alt {
  margin-top: 28px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.cta-alt p {
  margin: 0;
}

.cta-alt p + p {
  margin-top: 8px;
}

.cta-alt strong {
  color: #fff;
  font-weight: 800;
  margin-left: 8px;
}

.cta-alt a {
  color: var(--pink-hover);
  font-weight: 700;
  margin-left: 8px;
}

.cta-alt a:hover {
  text-decoration: underline;
}

.sep {
  margin: 0 8px;
}

/* Footer */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.footer-inner p {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  color: var(--ink-light);
}

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

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

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

.logo--sm .logo-mark {
  width: 22px;
  height: 22px;
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}

.modal::backdrop {
  background: rgba(13, 12, 34, 0.6);
  backdrop-filter: blur(4px);
}

.modal:not([open]) {
  display: none;
}

.modal-panel {
  position: fixed;
  inset: 24px;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  margin: auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: auto;
  box-shadow: var(--shadow-md);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-subtle);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

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

.modal-body {
  padding: 32px;
}

.modal-body h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.modal-body p {
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.modal-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .shots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-visual {
    min-width: 0;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-showcase {
    max-width: 100%;
    min-height: 300px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media img {
    min-height: 340px;
  }
}

@media (max-width: 1024px) {
  .header-search {
    max-width: 220px;
  }

  .search-kbd {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-main,
  .header-inner > .header-search,
  .header-actions > .lang-switcher:not(.lang-switcher--mobile) {
    display: none;
  }

  .header-search--mobile {
    display: block;
  }

  .header-inner {
    height: var(--header-h);
  }

  .menu-toggle {
    display: flex;
  }

  .shots-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .hero-stats {
    gap: 20px 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .section-head-meta {
    align-items: flex-start;
    flex: none;
    width: 100%;
  }

  .section-sub,
  .search-status {
    text-align: left;
  }

  .tabs {
    width: 100%;
  }

  .tabs-wrap {
    width: 100%;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
  }

  .featured-case {
    padding: 0 20px 64px;
  }

  .featured-card {
    min-height: 0;
    padding: 10px;
    border-radius: 28px;
  }

  .featured-media,
  .featured-panel {
    border-radius: 22px;
  }

  .featured-media img {
    min-height: 240px;
  }

  .featured-panel {
    padding: 22px;
  }

  .hero-card-label {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shot-detail-layout {
    grid-template-columns: 1fr;
  }

  .shot-detail-sidebar {
    position: static;
  }

  .shots-grid--related {
    grid-template-columns: 1fr;
  }
}

/* Case detail page (Dribbble shot layout) */
.shot-page #shot-main {
  min-height: 60vh;
}

.shot-not-found {
  max-width: 480px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.shot-not-found h1 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.shot-not-found p {
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.shot-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 88px;
}

.shot-breadcrumb {
  margin-bottom: 20px;
}

.shot-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.shot-back:hover {
  color: var(--pink);
}

.shot-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 40px;
  align-items: start;
}

.shot-detail-hero {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.shot-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.shot-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.shot-gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}

.shot-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.shot-creator {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.shot-creator-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shot-creator-link:hover strong {
  color: var(--pink);
}

.shot-creator-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shot-creator-info strong {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.shot-creator-info span {
  font-size: 0.8125rem;
  color: var(--ink-light);
  font-weight: 600;
}

.avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 0.875rem;
}

.shot-detail-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

html[data-lang="en"] .shot-detail-title,
html[data-lang="pt"] .shot-detail-title {
  font-size: 1.375rem;
}

.shot-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.shot-stat {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.shot-stat strong {
  color: var(--ink);
  font-weight: 800;
}

.shot-stat--muted {
  color: var(--ink-light);
}

.shot-detail-block {
  margin-bottom: 24px;
}

.shot-detail-block h2 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.shot-detail-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.shot-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shot-tag-list li {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 999px;
}

.shot-deliverable-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.shot-deliverable-list li + li {
  margin-top: 6px;
}

.shot-reflection-section {
  margin-top: 44px;
  padding: 52px 0 18px;
  border-top: 1px solid var(--border);
}

.shot-reflection-section[hidden] {
  display: none;
}

.shot-reflection-inner {
  width: min(760px, 100%);
  margin-inline: auto;
  font-family: "PingFang SC", "Heiti SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

.shot-reflection-inner .section-kicker {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.shot-reflection-text {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.shot-related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.shot-related h2 {
  margin: 0 0 28px;
  font-size: 1.25rem;
  font-weight: 800;
}

.shots-grid--related .shot-card {
  opacity: 1;
  transform: none;
}

.shots-grid--related .shot-overlay {
  opacity: 0;
}

.shots-grid--related .shot-link:hover .shot-overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .shot-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .shot-detail-sidebar {
    position: static;
  }

  .shot-reflection-inner {
    width: 100%;
    margin-inline: 0;
  }
}

/* Dribbble polish pass */
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 218, 232, 0.58), transparent 26vw),
    radial-gradient(circle at 82% 4%, rgba(255, 240, 214, 0.66), transparent 24vw),
    linear-gradient(180deg, #fffdfa 0%, #fff 46%, #fffdfa 100%);
}

.site-header {
  background: rgba(255, 253, 250, 0.84);
  border-bottom-color: rgba(13, 12, 34, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.header-inner {
  max-width: 1280px;
}

.logo {
  letter-spacing: -0.04em;
}

.logo-mark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 14%, transparent 15%),
    linear-gradient(135deg, #ea4c89, #ff8fbc 58%, #0d0c22 59%);
  box-shadow: 0 8px 24px rgba(234, 76, 137, 0.26);
}

.nav-main {
  gap: 22px;
}

.nav-main a {
  position: relative;
  padding: 8px 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--pink);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-main a:hover::after {
  transform: scaleX(1);
}

.header-search {
  max-width: 330px;
}

.search-field {
  background: #fff;
  border-color: rgba(13, 12, 34, 0.08);
  box-shadow: 0 10px 30px rgba(13, 12, 34, 0.04);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 12, 34, 0.14);
}

.btn-primary:hover {
  background: var(--pink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: #fff;
  border-color: rgba(13, 12, 34, 0.1);
  box-shadow: 0 10px 25px rgba(13, 12, 34, 0.04);
}

.hero {
  position: relative;
  grid-template-columns: 1fr;
  gap: 34px;
  max-width: 1180px;
  padding: 84px 24px 92px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px 24px auto;
  height: min(520px, 62vw);
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(234, 76, 137, 0.16), transparent 26%),
    radial-gradient(circle at 78% 24%, rgba(255, 214, 165, 0.34), transparent 28%),
    rgba(255, 255, 255, 0.55);
  filter: blur(0);
}

.hero-content {
  max-width: 920px;
  margin-inline: auto;
}

.hero-badge {
  margin-bottom: 20px;
  padding: 9px 18px;
  color: #b83b6f;
  background: rgba(234, 76, 137, 0.1);
  border: 1px solid rgba(234, 76, 137, 0.16);
  box-shadow: 0 10px 30px rgba(234, 76, 137, 0.08);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.3vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-highlight {
  display: inline-block;
  color: var(--ink);
  background: linear-gradient(90deg, var(--ink), var(--pink) 46%, var(--ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  color: #565463;
}

.hero-cta {
  justify-content: center;
  margin-bottom: 34px;
}

.hero-stats {
  justify-content: center;
  gap: 14px;
}

.hero-stats > div {
  min-width: 138px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 12, 34, 0.08);
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(13, 12, 34, 0.06);
}

.hero-stats strong {
  font-size: 1.15rem;
}

.hero-stats span {
  font-size: 0.75rem;
}

.hero-visual {
  min-width: 0;
}

.hero-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr;
  max-width: 860px;
  min-height: 190px;
  gap: 18px;
}

.hero-card,
.hero-card--lead,
.hero-card--top,
.hero-card--bottom {
  grid-row: auto;
  grid-column: auto;
}

.hero-card {
  padding: 10px;
  border: 1px solid rgba(13, 12, 34, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(13, 12, 34, 0.1);
  transform-origin: center;
}

.hero-card:nth-child(2) {
  transform: translateY(18px);
}

.hero-card:nth-child(3) {
  transform: translateY(-10px);
}

.hero-card-thumb {
  min-height: 138px;
  border-radius: 21px;
}

.hero-card-label {
  padding: 0 6px 4px;
  color: var(--ink);
}

.shots-section {
  max-width: 1280px;
  padding-bottom: 112px;
}

.section-head {
  align-items: center;
  margin-bottom: 34px;
}

.tabs {
  padding: 5px;
  background: #f3f3f1;
  border-color: rgba(13, 12, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tab {
  padding: 10px 20px;
}

.tab.active {
  box-shadow: 0 12px 24px rgba(13, 12, 34, 0.08);
}

.shots-grid {
  gap: 30px;
}

.shot-card {
  transition: opacity 0.5s ease, transform 0.5s ease, filter var(--transition);
}

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

.shot-link {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(13, 12, 34, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}

.shot-card:hover .shot-link {
  box-shadow: 0 24px 55px rgba(13, 12, 34, 0.14);
}

.shot-link::after {
  content: "↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.shot-card:hover .shot-link::after {
  opacity: 1;
  transform: translateY(0);
}

.shot-media img {
  filter: saturate(1.05) contrast(1.02);
}

.shot-overlay {
  padding: 22px;
  background: linear-gradient(to top, rgba(13, 12, 34, 0.76) 0%, rgba(13, 12, 34, 0.2) 42%, transparent 70%);
}

.shot-overlay h3 {
  max-width: calc(100% - 72px);
}

.shot-meta {
  padding-top: 14px;
}

.avatar {
  box-shadow: 0 8px 18px rgba(234, 76, 137, 0.22);
}

.services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(234, 76, 137, 0.12), transparent 28%),
    #fff;
}

.services-inner,
.about {
  max-width: 1180px;
}

.services h2,
.about h2,
.cta-inner h2 {
  letter-spacing: -0.055em;
}

.service-card {
  border-color: rgba(13, 12, 34, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(13, 12, 34, 0.045);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 55px rgba(13, 12, 34, 0.1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--pink-soft);
}

.about-inner {
  padding: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 12, 34, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 55px rgba(13, 12, 34, 0.07);
}

.about-tags li {
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 12, 34, 0.045);
}

.process-list li {
  padding: 18px 0;
}

.step-num {
  background: #fff0f6;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(234, 76, 137, 0.34), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 201, 120, 0.18), transparent 28%),
    #0d0c22;
}

.cta-inner {
  max-width: 640px;
}

.cta-banner .btn-primary {
  background: var(--pink);
  box-shadow: 0 16px 35px rgba(234, 76, 137, 0.3);
}

.form-row input,
.form-row textarea {
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 64px;
  }

  .hero-showcase {
    max-width: 720px;
  }

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

@media (max-width: 1120px) {
  .header-inner {
    gap: 16px;
    padding-inline: 18px;
  }

  .nav-main {
    gap: 16px;
  }

  .nav-main a {
    font-size: 0.875rem;
  }

  .header-search {
    flex-basis: 160px;
    max-width: 210px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions > .btn-primary {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 64px;
  }

  .hero::before {
    inset: 18px 12px auto;
    height: 620px;
    border-radius: 30px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.3rem);
    letter-spacing: -0.07em;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card:nth-child(2),
  .hero-card:nth-child(3) {
    transform: none;
  }

  .hero-card-thumb {
    min-height: 170px;
  }

  .hero-stats > div {
    min-width: calc(50% - 8px);
  }

  .shots-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shot-link::after {
    opacity: 1;
    transform: none;
  }

  .services,
  .about,
  .cta-banner {
    padding-block: 64px;
  }

  .about-inner {
    padding: 24px;
    border-radius: 28px;
  }
}

/* Hero update: Dribbble-style split intro with one featured case frame */
.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 6vw, 72px);
  max-width: 1280px;
  padding: 76px 24px 86px;
  text-align: left;
}

.hero::before {
  display: none;
}

.hero-content {
  max-width: 680px;
  margin-inline: 0;
}

.hero-badge {
  margin-bottom: 28px;
  background: #fff;
  color: var(--ink);
  border-color: rgba(13, 12, 34, 0.08);
  box-shadow: 0 12px 34px rgba(13, 12, 34, 0.06);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  line-height: 0.98;
}

.hero-highlight {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--pink);
}

.hero-desc {
  max-width: 610px;
  margin: 0 0 24px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.hero-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-feature-card {
  position: relative;
  display: block;
  min-height: 456px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 30px 70px rgba(13, 12, 34, 0.16);
  isolation: isolate;
}

.hero-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 12, 34, 0.34), transparent 45%);
  z-index: 1;
}

.hero-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 456px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-feature-card:hover img {
  transform: scale(1.035);
}

.hero-feature-chip,
.hero-feature-meta {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(13, 12, 34, 0.16);
  backdrop-filter: blur(12px);
}

.hero-feature-chip {
  top: 18px;
  left: 18px;
  padding: 9px 14px;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-feature-meta {
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 14px 8px 8px;
  font-size: 0.8125rem;
  font-weight: 800;
}

.hero-feature-meta > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    text-align: center;
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-points {
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-feature-card {
    max-width: 720px;
    min-height: 380px;
    margin-inline: auto;
  }

  .hero-feature-card img {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 64px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .hero-feature-card {
    min-height: 270px;
    border-radius: 28px;
  }

  .hero-feature-card img {
    min-height: 270px;
  }

  .hero-feature-meta {
    left: 14px;
    right: 14px;
    justify-content: flex-start;
  }
}
