:root {
  --green: #10a85b;
  --green-bright: #34d399;
  --gold: #f59e0b;
  --purple: #8b5cf6;
  --teal: #06b6d4;
  --ink: #f8fafc;
  --ink-2: #f1f5f9;
  --ink-3: #cbd5e1;
  --muted: #94a3b8;
  --soft: #090d16;
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink-3);
  background: #030712;
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 31, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--teal) 55%, var(--purple));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 156, 166, 0.2);
}

.brand-name {
  display: grid;
  line-height: 1.1;
}

.brand-name span {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd5e1;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #5ee4a0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #111827 0%, #030712 42%, #172033 100%);
  background-size: 48px 48px, 48px 48px, cover;
  overflow: hidden;
}

.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(0, 156, 166, 0.2);
  border-radius: 50%;
  transform: rotate(16deg);
}

.section-dark::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -130px;
}

.section-dark::after {
  width: 320px;
  height: 320px;
  bottom: -150px;
  left: -110px;
  border-color: rgba(124, 42, 203, 0.22);
}

.section-light {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin: 0 0 44px 0;
  text-align: left;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 156, 166, 0.28);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(0, 156, 166, 0.1);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-light .eyebrow,
.page-intro .eyebrow {
  color: var(--green);
  background: rgba(0, 120, 62, 0.08);
  border-color: rgba(0, 120, 62, 0.18);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(90deg, #24c873, #0fb7bd 48%, #a162e8);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
}

.section-light .lead,
.page-intro .lead {
  color: #475569;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 72px 0 88px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-role {
  max-width: 800px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(1.1rem, 2.3vw, 1.65rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--green), var(--teal));
  box-shadow: 0 12px 32px rgba(0, 120, 62, 0.22);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(124, 42, 203, 0.52);
  background: rgba(124, 42, 203, 0.12);
}

.btn-outline {
  color: var(--green);
  border-color: rgba(0, 120, 62, 0.24);
  background: var(--white);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.hero-panel {
  position: relative;
}

.profile-card,
.glass-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-card {
  overflow: hidden;
}

.profile-photo {
  aspect-ratio: 1 / 0.86;
  background: #e5e7eb;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-body {
  padding: 22px;
}

.profile-body h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.profile-body p {
  color: #cbd5e1;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: min(260px, 72%);
  padding: 16px;
  color: var(--white);
  border: 1px solid rgba(0, 156, 166, 0.28);
  border-radius: var(--radius);
  background: rgba(8, 17, 31, 0.9);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.floating-note strong {
  display: block;
  color: #67e8f9;
  margin-bottom: 4px;
}

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

.stat-card {
  position: relative;
  min-height: 178px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.76);
  color: var(--white);
}

.stat-card::before,
.project-card::before,
.design-card::before,
.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(0, 120, 62, 0.24), rgba(0, 156, 166, 0.18), rgba(124, 42, 203, 0.18));
  transition: opacity 180ms ease;
  pointer-events: none;
}

.stat-card:hover::before,
.project-card:hover::before,
.design-card:hover::before,
.skill-card:hover::before {
  opacity: 1;
}

.stat-card .icon-box,
.project-icon,
.skill-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.stat-card strong {
  position: relative;
  display: block;
  margin-bottom: 6px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-card span {
  position: relative;
  color: #cbd5e1;
  font-weight: 700;
}

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

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

.project-card,
.skill-card,
.category-card,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.section-dark .project-card,
.section-dark .skill-card,
.section-dark .category-card,
.section-dark .contact-card {
  background: rgba(15, 23, 42, 0.76);
  color: var(--white);
  box-shadow: none;
}

.project-card > *,
.skill-card > *,
.design-card > * {
  position: relative;
}

.project-card h3,
.skill-card h3,
.category-card h3,
.contact-card h3 {
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.meta-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 120, 62, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.section-dark .meta-pill {
  color: #86efac;
  background: rgba(0, 120, 62, 0.16);
}

.project-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
}

.section-dark .project-list li {
  color: #cbd5e1;
}

.project-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--green), var(--teal));
}

.project-media {
  position: relative;
  height: 188px;
  margin: -26px -26px 22px;
  overflow: hidden;
  background: #0f172a;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media.contain {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

.project-media.contain img {
  width: min(190px, 80%);
  height: auto;
  object-fit: contain;
}

.project-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 17, 31, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--green);
  font-weight: 900;
}

.section-dark .card-link {
  color: #67e8f9;
}

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

.design-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.section-dark .design-card {
  background: rgba(15, 23, 42, 0.76);
  color: var(--white);
}

.design-preview {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a, #0f766e);
}

.design-preview::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.preview-kicker,
.preview-title,
.preview-footer,
.preview-shape,
.preview-card {
  position: relative;
  z-index: 1;
}

.preview-kicker {
  align-self: start;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.preview-title {
  align-self: center;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
}

.preview-footer {
  align-self: end;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.preview-shape {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(253, 190, 45, 0.42);
  border-radius: 50%;
}

.preview-card {
  align-self: center;
  justify-self: center;
  width: 78%;
  min-height: 116px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.preview-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Poppins", Arial, sans-serif;
}

.preview-card span {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #dbeafe;
}

.preview-card span:nth-child(3) {
  width: 70%;
}

.design-preview.school {
  background: linear-gradient(135deg, #0f172a, #166534);
}

.design-preview.church {
  background: linear-gradient(135deg, #2e1065, #0f172a);
}

.design-preview.corporate {
  background: linear-gradient(135deg, #111827, #0f766e);
}

.design-preview.social {
  background: linear-gradient(135deg, #7c2acb, #009ca6);
}

.design-preview.ui {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.design-preview.certificate {
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  color: var(--ink);
}

.design-preview.certificate::before {
  border-color: rgba(0, 120, 62, 0.26);
}

.design-body {
  padding: 18px;
}

.design-body h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.design-body p {
  color: #64748b;
  font-size: 0.94rem;
}

.section-dark .design-body p {
  color: #cbd5e1;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-tile {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.section-dark .product-tile {
  background: rgba(15, 23, 42, 0.76);
  color: var(--white);
  box-shadow: none;
}

.product-tile-visual {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0f172a;
}

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

.product-tile-logo {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.product-tile-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-tile-body {
  padding: 20px;
}

.product-tile-body h3 {
  margin-bottom: 8px;
}

.product-tile-body p {
  color: #64748b;
}

.section-dark .product-tile-body p {
  color: #cbd5e1;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 120, 62, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(90deg, var(--green), var(--teal));
}

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

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

.detail-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.quote-panel {
  padding: 32px;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.quote-panel p {
  color: #334155;
  font-size: 1.18rem;
  font-weight: 800;
}

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

.skill-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #475569;
}

.section-dark .skill-list {
  color: #cbd5e1;
}

.skill-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.skill-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.page-intro {
  position: relative;
  padding: 96px 0 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #111827 0%, #030712 48%, #172033 100%);
  background-size: 48px 48px, 48px 48px, cover;
  overflow: hidden;
}

.page-intro .lead {
  color: #cbd5e1;
}

.page-intro-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.page-intro h1 {
  margin-bottom: 18px;
}

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

.category-card p {
  color: #64748b;
}

.system-list {
  display: grid;
  gap: 18px;
}

.system-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.system-card.with-product-media {
  grid-template-columns: 260px minmax(0, 1fr);
}

.system-index {
  display: grid;
  align-content: space-between;
  min-height: 168px;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal) 62%, var(--purple));
}

.system-index.product-index {
  position: relative;
  display: block;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: #0f172a;
}

.product-index > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-logo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 17, 31, 0.84);
  font-size: 0.76rem;
  font-weight: 900;
}

.system-logo-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.system-index span {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
}

.system-index small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.system-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
}

.proof-pill img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.system-card h3 {
  margin-bottom: 12px;
}

.system-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.system-details div {
  padding: 12px;
  border-radius: var(--radius);
  background: #f8fafc;
}

.system-details strong {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 24px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: "Poppins", Arial, sans-serif;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card p {
  color: #64748b;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #334155;
  font-weight: 900;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 120, 62, 0.1);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #111827, #03151b 44%, #10243b);
  background-size: 42px 42px, 42px 42px, cover;
}

.cta-band h2 {
  max-width: 780px;
  margin-bottom: 16px;
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 24px;
  color: #cbd5e1;
}

.site-footer {
  color: var(--white);
  background: #050a13;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding: 58px 0;
}

.footer-grid p,
.footer-grid a {
  color: #cbd5e1;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.74);
}

.modal.open {
  display: flex;
}

.modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 1fr);
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.modal-preview {
  min-height: 480px;
}

.modal-content {
  padding: 32px;
}

.modal-content h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.modal-content dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.modal-content dt {
  color: var(--green);
  font-weight: 900;
}

.modal-content dd {
  margin: 4px 0 0;
  color: #475569;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .project-grid,
  .skills-grid,
  .category-grid,
  .gallery-grid,
  .product-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .system-card,
  .system-card.with-product-media {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(8, 17, 31, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .section,
  .section-sm {
    padding: 58px 0;
  }

  .page-intro {
    padding: 72px 0 54px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .project-grid,
  .project-grid.two-col,
  .skills-grid,
  .category-grid,
  .gallery-grid,
  .product-showcase-grid,
  .visual-grid,
  .stats-grid,
  .system-details,
  .form-row {
    grid-template-columns: 1fr;
  }

  .system-index {
    min-height: 132px;
  }

  .cta-band {
    padding: 30px;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
  }

  .modal-preview {
    min-height: 320px;
  }
}

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

/* Projects page: portfolio version of the GOFA products layout */
.projects-products-page {
  color: #cbd5e1;
  background: #030712;
}

.projects-products-page .products-header {
  position: fixed;
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.projects-products-page .brand {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
}

.projects-products-page .brand-mark {
  background: linear-gradient(135deg, var(--green), var(--teal) 55%, var(--purple));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 182, 212, 0.25);
}

.projects-products-page .brand-name span {
  color: #94a3b8;
}

.projects-products-page .nav-links {
  color: #cbd5e1;
}

.projects-products-page .nav-links a:hover,
.projects-products-page .nav-links a.active {
  color: #34d399;
}

.projects-products-page .menu-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.projects-products-page .site-footer {
  color: #94a3b8;
  background: #050a13;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-products-page .site-footer .brand {
  color: #ffffff;
}

.projects-products-page .footer-grid p,
.projects-products-page .footer-grid a {
  color: #cbd5e1;
}

.projects-products-page .footer-grid h3 {
  color: #ffffff;
  border-left: 4px solid var(--teal);
  padding-left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.projects-products-page .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.products-style-hero {
  position: relative;
  min-height: 70vh;
  padding: 136px 0 76px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(135deg, #090d16 0%, #030712 50%, #0c1524 100%);
  background-size: 48px 48px, 48px 48px, cover;
}

.products-style-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 52%;
  height: 100%;
  opacity: 0.15;
  background: linear-gradient(135deg, transparent 0 45%, var(--teal) 45% 72%, var(--purple) 100%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.products-style-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -10%;
  width: 42%;
  height: 44%;
  border-radius: 999px;
  background: rgba(0, 156, 166, 0.1);
  filter: blur(90px);
  pointer-events: none;
}

.products-style-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.product-eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #a78bfa;
  background: rgba(124, 42, 203, 0.15);
  border: 1px solid rgba(124, 42, 203, 0.3);
  font-size: 0.9rem;
  font-weight: 800;
}

.products-title {
  margin-bottom: 22px;
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0;
}

.products-title span {
  color: var(--teal);
}

.products-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.75;
}

.products-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.products-hero-stats div {
  min-width: 104px;
}

.products-hero-stats strong {
  display: block;
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.products-hero-stats span {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 800;
}

.products-hero-visual {
  position: relative;
}

.products-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(124, 42, 203, 0.3), rgba(0, 156, 166, 0.3));
  filter: blur(26px);
  transform: rotate(-3deg);
}

.products-hero-visual img {
  position: relative;
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.project-product-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  scroll-margin-top: 88px;
}

.project-product-section.soft {
  background: #090d16;
}

.project-product-section.white {
  background: #030712;
}

.project-product-section::before {
  content: "";
  position: absolute;
  width: 34%;
  height: 52%;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.project-product-section.soft::before {
  top: -12%;
  left: -12%;
  background: rgba(37, 99, 235, 0.08);
}

.project-product-section.white::before {
  right: -12%;
  bottom: -18%;
  background: rgba(124, 42, 203, 0.08);
}

.project-product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: center;
}

.project-product-grid.reverse .project-product-copy {
  order: 2;
}

.project-product-grid.reverse .project-product-visual-wrap {
  order: 1;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.product-logo-box {
  display: grid;
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.product-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-title-row h2 {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.project-title-row p {
  margin-top: 5px;
  color: var(--teal);
  font-weight: 900;
}

.project-product-copy > p {
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.8;
}

.project-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.project-mini-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.project-mini-panel h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.product-check-list i {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: currentColor;
}

.product-check-list.features i {
  color: var(--teal);
}

.product-check-list.benefits i {
  color: var(--gold);
}

.products-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-primary-btn,
.product-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.product-primary-btn {
  color: #ffffff;
  background: var(--teal);
}

.product-primary-btn.blue {
  background: #2563eb;
}

.product-primary-btn.purple {
  background: var(--purple);
}

.product-primary-btn.green {
  background: var(--green);
}

.product-secondary-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.product-primary-btn:hover,
.product-secondary-btn:hover {
  transform: translateY(-2px);
}

.product-secondary-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(6, 182, 212, 0.1);
}

.project-product-visual {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.project-product-visual:hover {
  transform: scale(1.015);
  box-shadow: 0 38px 86px rgba(15, 23, 42, 0.24);
}

.project-product-visual.blue {
  background: linear-gradient(135deg, #2563eb, var(--teal));
}

.project-product-visual.green {
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.project-product-visual.purple {
  background: linear-gradient(135deg, var(--purple), var(--teal));
}

.project-product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.product-visual-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.product-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-product-visual:hover .product-visual-frame img {
  transform: scale(1.06);
}

.product-visual-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.64), transparent);
}

.product-visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: #ffffff;
}

.product-visual-caption-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}

.product-visual-caption-logo {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.product-visual-caption-logo img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.product-visual-caption h3 {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: 1.45rem;
}

.product-visual-caption p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-live-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
}

.products-final-cta {
  padding: 82px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

.products-final-cta h2 {
  margin-bottom: 18px;
  font-family: "Sora", "Poppins", Arial, sans-serif;
}

.products-final-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

.products-final-cta .product-secondary-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.products-final-cta .product-primary-btn {
  color: #111827;
  background: var(--gold);
}

@media (max-width: 980px) {
  .products-style-grid,
  .project-product-grid,
  .project-product-grid.reverse {
    grid-template-columns: 1fr;
  }

  .project-product-grid.reverse .project-product-copy,
  .project-product-grid.reverse .project-product-visual-wrap {
    order: initial;
  }
}

@media (max-width: 760px) {
  .projects-products-page .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: #eef2f7;
  }

  .products-style-hero {
    padding: 104px 0 58px;
  }

  .products-hero-stats,
  .products-button-row {
    gap: 12px;
  }

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

  .project-title-row {
    align-items: flex-start;
  }

  .product-logo-box {
    width: 64px;
    height: 64px;
  }

  .project-product-section {
    padding: 56px 0;
  }

  .project-product-visual {
    border-radius: 22px;
  }
}

/* Shared GOFA Ghana dark theme for the personal portfolio */
.gofa-theme {
  color: #cbd5e1;
  background: #030712;
}

.gofa-theme h1,
.gofa-theme h2,
.gofa-theme h3,
.gofa-theme h4,
.gofa-theme .brand,
.gofa-theme .hero-role {
  font-family: "Sora", "Poppins", Arial, sans-serif;
  color: #ffffff;
}

.gofa-theme .products-header {
  position: fixed;
  inset: 0 0 auto;
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.gofa-theme .brand {
  color: #ffffff;
}

.gofa-theme .brand-mark {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--teal) 55%, var(--purple));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 182, 212, 0.25);
}

.gofa-theme .brand-name span {
  color: #94a3b8;
}

.gofa-theme .nav-links {
  color: #cbd5e1;
}

.gofa-theme .nav-links a:hover,
.gofa-theme .nav-links a.active {
  color: #34d399;
}

.gofa-theme .menu-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.gofa-theme .section-dark,
.gofa-theme .hero.section-dark {
  color: #ffffff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(135deg, #090d16 0%, #030712 50%, #0c1524 100%);
  background-size: 48px 48px, 48px 48px, cover;
}

.gofa-theme .section-dark::before,
.gofa-theme .section-dark::after {
  display: block;
}

.gofa-theme .hero {
  min-height: 760px;
  padding: 136px 0 88px;
  overflow: hidden;
}

.gofa-theme .hero.section-dark::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  display: block;
  width: 52%;
  height: 100%;
  border: 0;
  border-radius: 0;
  opacity: 0.15;
  background: linear-gradient(135deg, transparent 0 45%, var(--teal) 45% 72%, var(--purple) 100%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%);
  transform: none;
  pointer-events: none;
}

.gofa-theme .hero.section-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: none;
  pointer-events: none;
}

.gofa-theme .page-intro {
  position: relative;
  padding: 136px 0 76px;
  color: #ffffff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(135deg, #090d16 0%, #030712 50%, #0c1524 100%);
  background-size: 48px 48px, 48px 48px, cover;
}

.gofa-theme .page-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 52%;
  height: 100%;
  opacity: 0.15;
  background: linear-gradient(135deg, transparent 0 45%, var(--teal) 45% 72%, var(--purple) 100%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.gofa-theme .page-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.gofa-theme .hero-grid > *,
.gofa-theme .split-grid > *,
.gofa-theme .contact-layout > *,
.gofa-theme .project-grid > *,
.gofa-theme .skills-grid > *,
.gofa-theme .category-grid > *,
.gofa-theme .gallery-grid > *,
.gofa-theme .visual-grid > *,
.gofa-theme .product-showcase-grid > * {
  min-width: 0;
}

.gofa-theme .section-light {
  background: #090d16;
}

.gofa-theme .lead,
.gofa-theme .page-intro .lead,
.gofa-theme .section-light .lead,
.gofa-theme .section-dark .lead,
.gofa-theme .hero-copy {
  color: #cbd5e1;
}

.gofa-theme .hero-role {
  color: #ffffff;
}

.gofa-theme .eyebrow,
.gofa-theme .section-light .eyebrow,
.gofa-theme .section-dark .eyebrow,
.gofa-theme .page-intro .eyebrow {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
}

.gofa-theme .btn-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.2);
}

.gofa-theme .btn-secondary,
.gofa-theme .btn-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.gofa-theme .btn-secondary:hover,
.gofa-theme .btn-outline:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(6, 182, 212, 0.1);
}

.gofa-theme .profile-card,
.gofa-theme .glass-card,
.gofa-theme .stat-card,
.gofa-theme .project-card,
.gofa-theme .skill-card,
.gofa-theme .category-card,
.gofa-theme .contact-card,
.gofa-theme .contact-form,
.gofa-theme .quote-panel,
.gofa-theme .timeline-item,
.gofa-theme .product-tile,
.gofa-theme .section-dark .project-card,
.gofa-theme .section-dark .skill-card,
.gofa-theme .section-dark .category-card,
.gofa-theme .section-dark .contact-card,
.gofa-theme .section-dark .design-card,
.gofa-theme .section-dark .product-tile {
  color: #f1f5f9;
  background: rgba(17, 24, 39, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.gofa-theme .profile-card:hover,
.gofa-theme .glass-card:hover,
.gofa-theme .stat-card:hover,
.gofa-theme .project-card:hover,
.gofa-theme .skill-card:hover,
.gofa-theme .category-card:hover,
.gofa-theme .contact-card:hover,
.gofa-theme .contact-form:hover,
.gofa-theme .quote-panel:hover,
.gofa-theme .timeline-item:hover,
.gofa-theme .product-tile:hover,
.gofa-theme .section-dark .project-card:hover,
.gofa-theme .section-dark .skill-card:hover,
.gofa-theme .section-dark .category-card:hover,
.gofa-theme .section-dark .contact-card:hover,
.gofa-theme .section-dark .design-card:hover,
.gofa-theme .section-dark .product-tile:hover {
  transform: translateY(-4px);
  background: rgba(31, 41, 55, 0.75);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 48px rgba(6, 182, 212, 0.15);
}

.gofa-theme .project-card::before,
.gofa-theme .design-card::before,
.gofa-theme .skill-card::before,
.gofa-theme .stat-card::before {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
}

.gofa-theme .profile-body h3,
.gofa-theme .stat-card strong,
.gofa-theme .project-card h3,
.gofa-theme .skill-card h3,
.gofa-theme .category-card h3,
.gofa-theme .contact-card h3,
.gofa-theme .product-tile-body h3,
.gofa-theme .design-body h3 {
  color: #ffffff;
}

.gofa-theme .profile-body p,
.gofa-theme .stat-card span,
.gofa-theme .project-card p,
.gofa-theme .skill-card p,
.gofa-theme .category-card p,
.gofa-theme .contact-card p,
.gofa-theme .quote-panel p,
.gofa-theme .product-tile-body p,
.gofa-theme .section-dark .product-tile-body p,
.gofa-theme .design-body p,
.gofa-theme .section-dark .design-body p,
.gofa-theme .project-list li,
.gofa-theme .section-dark .project-list li,
.gofa-theme .skill-list,
.gofa-theme .section-dark .skill-list {
  color: #cbd5e1;
}

.gofa-theme .tag {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.gofa-theme .floating-note {
  color: #cbd5e1;
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.gofa-theme .floating-note strong,
.gofa-theme .timeline-item strong,
.gofa-theme .meta-pill,
.gofa-theme .section-dark .meta-pill,
.gofa-theme .card-link,
.gofa-theme .section-dark .card-link,
.gofa-theme .detail-button {
  color: var(--teal);
}

.gofa-theme .meta-pill,
.gofa-theme .section-dark .meta-pill {
  background: rgba(6, 182, 212, 0.12);
}

.gofa-theme .stat-card .icon-box,
.gofa-theme .project-icon,
.gofa-theme .skill-icon {
  background: var(--teal);
}

.gofa-theme .cta-band {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gofa-theme .cta-band p {
  color: rgba(255, 255, 255, 0.88);
}

.gofa-theme .cta-band .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.gofa-theme .cta-band .btn-primary {
  color: #111827;
  background: var(--gold);
  box-shadow: none;
}

.gofa-theme .cta-band .btn-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
}

.gofa-theme .field label {
  color: #ffffff;
}

.gofa-theme .field input,
.gofa-theme .field textarea,
.gofa-theme .field select {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.gofa-theme .field input:focus,
.gofa-theme .field textarea:focus,
.gofa-theme .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.gofa-theme .site-footer {
  color: #cbd5e1;
  background: #050a13;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gofa-theme .site-footer .brand {
  color: #ffffff;
}

.gofa-theme .footer-grid p,
.gofa-theme .footer-grid a {
  color: #cbd5e1;
}

.gofa-theme .footer-grid h3 {
  color: #ffffff;
  padding-left: 12px;
  border-left: 4px solid var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gofa-theme .footer-bottom {
  color: #94a3b8;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.gofa-theme .system-details div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gofa-theme .system-details strong {
  color: var(--teal);
}

.gofa-theme .proof-pill {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.gofa-theme .modal-dialog {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.gofa-theme .modal-content h2 {
  color: #ffffff;
}

.gofa-theme .modal-content dd {
  color: #cbd5e1;
}

.gofa-theme .modal-content dt {
  color: var(--teal);
}

.gofa-theme .modal-close {
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.gofa-theme .modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.gofa-theme .filter-btn {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.gofa-theme .filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.gofa-theme .filter-btn.active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-color: transparent;
}

.gofa-theme .product-filter-toolbar {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 760px) {
  .gofa-theme .nav-links {
    background: rgba(9, 13, 22, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .projects-products-page .nav-links {
    background: rgba(9, 13, 22, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .gofa-theme .hero {
    min-height: auto;
    padding: 104px 0 58px;
  }

  .gofa-theme .page-intro {
    padding: 104px 0 54px;
  }

  .gofa-theme h1,
  .gofa-theme h2,
  .gofa-theme .hero-role,
  .gofa-theme .lead {
    overflow-wrap: anywhere;
  }

  .gofa-theme .container {
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
  }

  .gofa-theme .hero-title,
  .gofa-theme .page-intro h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .gofa-theme .hero-role {
    max-width: 100%;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .gofa-theme .lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .gofa-theme .action-row {
    width: 100%;
  }

  .gofa-theme .action-row .btn {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Design portfolio page: product-style visual layout */
.design-products-page .products-style-hero {
  min-height: 76vh;
}

.design-hero-stats {
  margin-top: 36px;
}

.design-hero-collage {
  position: relative;
  min-height: 560px;
}

.design-collage-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(17, 24, 39, 0.65);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.design-collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-collage-card.main {
  inset: 64px 36px 58px 52px;
  z-index: 2;
}

.design-collage-card.top {
  top: 0;
  left: 0;
  z-index: 3;
  width: 180px;
  height: 180px;
  border-radius: 22px;
}

.design-collage-card.bottom {
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 218px;
  height: 270px;
  border-radius: 22px;
}

.design-collage-card.side {
  right: 18px;
  top: 92px;
  z-index: 1;
  width: 232px;
  height: 232px;
  --collage-rotate: 4deg;
  transform: rotate(4deg);
}

.design-icon-box {
  color: #ffffff;
  background: var(--teal);
}

.design-icon-box.purple {
  background: var(--purple);
}

.design-icon-box.green {
  background: var(--green);
}

.design-icon-box i {
  width: 32px;
  height: 32px;
}

.design-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.design-showcase-grid img,
.design-strip img,
.design-feature-card > img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.65);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.design-showcase-grid img {
  height: 280px;
}

.design-showcase-grid img:nth-child(2),
.design-showcase-grid img:nth-child(3) {
  height: 210px;
}

.design-showcase-grid img:nth-child(4) {
  grid-column: span 2;
  height: 210px;
}

.design-feature-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: rgba(17, 24, 39, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.design-feature-card > img {
  height: 510px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.design-feature-card div {
  padding: 26px;
}

.design-feature-card span,
.image-design-card .design-body span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-feature-card h3 {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: 1.45rem;
}

.design-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.design-strip img {
  height: 430px;
}

.design-strip img:nth-child(2) {
  height: 500px;
}

.design-gallery-section {
  padding: 88px 0;
  background: #030712;
}

.product-filter-toolbar {
  position: sticky;
  top: 84px;
  z-index: 12;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.design-masonry-grid {
  column-count: 3;
  column-gap: 22px;
}

.image-design-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  break-inside: avoid;
  vertical-align: top;
}

.image-design-card .design-body {
  padding: 20px;
}

.image-design-card .design-body h3 {
  font-family: "Sora", "Poppins", Arial, sans-serif;
}

.image-preview {
  display: block;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: #090d16;
}

.image-preview::before {
  display: none;
}

.image-preview img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.image-preview.square img {
  height: 330px;
}

.image-preview.wide img {
  height: 280px;
}

.design-modal-dialog {
  width: min(1080px, 100%);
}

.design-modal-dialog .modal-preview {
  display: grid;
  min-height: min(76vh, 720px);
  place-items: center;
  background: #030712;
}

.design-modal-dialog .modal-preview img {
  width: 100%;
  height: 100%;
  max-height: min(76vh, 720px);
  object-fit: contain;
}

@media (max-width: 980px) {
  .design-hero-collage {
    min-height: 520px;
  }

  .design-collage-card.main {
    inset: 54px 28px 54px 42px;
  }

  .design-masonry-grid {
    column-count: 2;
  }

  .design-strip {
    grid-template-columns: 1fr;
  }

  .design-strip img,
  .design-strip img:nth-child(2) {
    height: auto;
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .design-hero-collage {
    min-height: 470px;
  }

  .design-collage-card {
    border-radius: 18px;
  }

  .design-collage-card.main {
    inset: 44px 14px 70px 14px;
  }

  .design-collage-card.top {
    width: 132px;
    height: 132px;
  }

  .design-collage-card.bottom {
    width: 156px;
    height: 198px;
  }

  .design-collage-card.side {
    right: 0;
    top: 86px;
    width: 148px;
    height: 148px;
  }

  .design-showcase-grid {
    grid-template-columns: 1fr;
  }

  .design-showcase-grid img,
  .design-showcase-grid img:nth-child(2),
  .design-showcase-grid img:nth-child(3),
  .design-showcase-grid img:nth-child(4) {
    grid-column: auto;
    height: auto;
    max-height: 460px;
  }

  .design-feature-card > img {
    height: auto;
    max-height: 540px;
  }

  .product-filter-toolbar {
    position: static;
    justify-content: flex-start;
    width: 100%;
    padding: 8px;
    border-radius: 18px;
  }

  .design-masonry-grid {
    column-count: 1;
  }

  .image-preview img,
  .image-preview.square img,
  .image-preview.wide img {
    height: auto;
  }

  .design-modal-dialog .modal-preview {
    min-height: 320px;
  }
}

/* Grouped portfolio image archive */
.portfolio-gallery-groups {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 96px;
  padding: 28px 0 76px;
  background: #030712;
}

.portfolio-gallery-groups::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 42%;
  height: 320px;
  opacity: 0.15;
  background: linear-gradient(135deg, transparent 0 42%, var(--teal) 42% 72%, var(--purple) 100%);
  clip-path: polygon(44% 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.portfolio-category-block {
  --gallery-accent: var(--teal);
  --gallery-soft: rgba(0, 156, 166, 0.12);
  display: contents;
}

.portfolio-category-block:first-of-type {
  border-top: 0;
}

.portfolio-category-block:nth-of-type(2) {
  --gallery-accent: var(--green);
  --gallery-soft: rgba(16, 168, 91, 0.12);
  background: transparent;
}

.portfolio-category-block:nth-of-type(3) {
  --gallery-accent: var(--purple);
  --gallery-soft: rgba(139, 92, 246, 0.12);
  background: transparent;
}

.portfolio-gallery-groups > .container {
  width: min(1760px, calc(100% - 24px));
  column-count: 6;
  column-gap: 16px;
}

.portfolio-category-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 900px;
  margin-bottom: 28px;
}

.portfolio-category-heading h2 {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.portfolio-category-heading p {
  max-width: 760px;
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.portfolio-category-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(0, 156, 166, 0.3);
}

.portfolio-category-icon.green {
  background: var(--green);
}

.portfolio-category-icon.purple {
  background: var(--purple);
}

.portfolio-category-icon i {
  width: 30px;
  height: 30px;
}

.portfolio-subgroup {
  display: contents;
}

.portfolio-category-block > .portfolio-subgroup:first-child {
  margin-top: 0;
}

.portfolio-subgroup h3 {
  display: none;
}

.portfolio-subgroup h3::before {
  display: none;
}

.portfolio-image-grid {
  display: contents;
}

.portfolio-image-grid.compact {
  display: contents;
}

.portfolio-image-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  break-inside: avoid;
  cursor: pointer;
  vertical-align: top;
}

.portfolio-image-card.reveal {
  opacity: 1;
  transform: none;
}

.portfolio-image-card::before {
  display: none;
}

.portfolio-image-card .image-preview {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-image-card:hover .image-preview {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 182, 212, 0.25);
}

.portfolio-image-card .image-preview:focus-visible {
  outline: 4px solid rgba(0, 156, 166, 0.22);
  outline-offset: 4px;
}

.portfolio-image-card .image-preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 420ms var(--motion-ease);
}

.portfolio-image-card:hover .image-preview img {
  transform: scale(1.025);
}

.portfolio-image-card .design-body {
  display: none;
}

.portfolio-image-card .design-body h3 {
  font-size: 1rem;
}

.portfolio-image-card .detail-button {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .portfolio-gallery-groups > .container {
    column-count: 3;
  }
}

@media (max-width: 760px) {
  .portfolio-gallery-groups {
    padding: 20px 0 48px;
  }

  .portfolio-category-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .portfolio-gallery-groups > .container {
    width: calc(100% - 24px);
    column-count: 2;
    column-gap: 12px;
  }

  .portfolio-image-card {
    margin-bottom: 12px;
  }

  .portfolio-image-card .image-preview {
    border-radius: 14px;
  }
}

@media (min-width: 981px) and (max-width: 1320px) {
  .portfolio-gallery-groups > .container {
    column-count: 5;
  }
}

/* Pinterest-style design viewer */
.pinterest-modal {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: #030712;
}

.pinterest-modal.open {
  display: block;
  overflow: auto;
}

.pinterest-lightbox {
  display: grid;
  grid-template-columns: minmax(420px, 44vw) minmax(0, 1fr);
  min-height: 100vh;
  color: #cbd5e1;
  background: #030712;
}

.pinterest-viewer {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  padding: 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #090d16;
}

.pinterest-action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pin-icon-button,
.pin-action-cluster span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.pin-icon-button:hover,
.pin-action-cluster span:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--teal);
}

.pin-icon-button i,
.pin-action-cluster i {
  width: 23px;
  height: 23px;
}

.pin-action-cluster {
  display: flex;
  gap: 8px;
}

.pin-save-pill {
  margin-left: auto;
  padding: 12px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #e60023;
  font-weight: 900;
}

.pin-profile-chip {
  display: grid;
  width: 48px;
  height: 48px;
  margin-left: auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #090d16;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.pin-profile-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pinterest-main-image {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pinterest-main-image img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 188px);
  object-fit: contain;
  border-radius: 24px;
}

.pinterest-caption {
  padding-top: 18px;
}

.pinterest-caption h2 {
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
}

.pinterest-caption p {
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 0.96rem;
}

.pinterest-related {
  padding: 28px 26px 42px;
  background: #030712;
}

.pinterest-related h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-family: "Sora", "Poppins", Arial, sans-serif;
  font-size: 1.05rem;
}

.pinterest-related-grid {
  column-count: 4;
  column-gap: 16px;
}

.pin-related-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  color: #cbd5e1;
  background: transparent;
  text-align: left;
  cursor: pointer;
  break-inside: avoid;
}

.pin-related-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 260ms var(--motion-ease);
}

.pin-related-card span {
  display: block;
  padding: 8px 4px 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .pinterest-lightbox {
    grid-template-columns: minmax(380px, 48vw) minmax(0, 1fr);
  }

  .pinterest-related-grid {
    column-count: 3;
  }
}

@media (max-width: 860px) {
  .pinterest-lightbox {
    display: block;
  }

  .pinterest-viewer {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 18px 16px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #090d16;
  }

  .pinterest-main-image img {
    max-height: none;
  }

  .pinterest-related {
    padding: 24px 16px 38px;
  }

  .pinterest-related-grid {
    column-count: 2;
    column-gap: 14px;
  }
}

@media (max-width: 520px) {
  .pinterest-action-bar {
    gap: 8px;
  }

  .pin-action-cluster {
    gap: 2px;
  }

  .pin-icon-button,
  .pin-action-cluster span {
    width: 38px;
    height: 38px;
  }

  .pin-save-pill {
    padding: 10px 16px;
  }

  .pin-profile-chip {
    width: 42px;
    height: 42px;
  }

  .pinterest-related-grid {
    column-count: 2;
  }

  .pin-related-card span {
    font-size: 0.8rem;
  }
}

/* Sleek motion layer */
:root {
  --motion-fast: 180ms;
  --motion-medium: 320ms;
  --motion-slow: 620ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.products-header {
  transition: background var(--motion-medium) var(--motion-ease), border-color var(--motion-medium) var(--motion-ease), box-shadow var(--motion-medium) var(--motion-ease);
}

.gofa-theme .nav-links a {
  position: relative;
}

.gofa-theme .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-medium) var(--motion-ease);
}

.gofa-theme .nav-links a:hover::after,
.gofa-theme .nav-links a.active::after {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}

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

.btn,
.product-primary-btn,
.product-secondary-btn,
.pin-icon-button,
.pin-action-cluster span,
.pin-profile-chip {
  transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);
}

.btn:hover,
.product-primary-btn:hover,
.product-secondary-btn:hover {
  transform: translateY(-3px);
}

.products-style-hero .product-eyebrow-light,
.products-style-hero .products-title,
.products-style-hero .products-copy,
.products-style-hero .products-button-row,
.products-style-hero .products-hero-stats {
  animation: heroTextIn 760ms var(--motion-ease) both;
}

.products-style-hero .products-title {
  animation-delay: 80ms;
}

.products-style-hero .products-copy {
  animation-delay: 160ms;
}

.products-style-hero .products-button-row {
  animation-delay: 240ms;
}

.products-style-hero .products-hero-stats {
  animation-delay: 320ms;
}

.design-collage-card {
  transition: transform 420ms var(--motion-ease), box-shadow 420ms var(--motion-ease);
  animation: collageDrift 7s ease-in-out infinite alternate;
}

.design-collage-card.top {
  animation-delay: 600ms;
}

.design-collage-card.bottom {
  animation-delay: 1000ms;
}

.design-collage-card.side {
  animation-delay: 1400ms;
}

.design-hero-collage:hover .design-collage-card {
  animation-play-state: paused;
}

.portfolio-image-card {
  animation: feedRise 560ms var(--motion-ease) both;
  animation-delay: calc(var(--feed-index, 0) * 36ms);
}

.portfolio-image-card .image-preview {
  transition: transform 260ms var(--motion-ease), box-shadow 260ms var(--motion-ease), filter 260ms var(--motion-ease);
}

.portfolio-image-card .image-preview img {
  transform-origin: center;
  transition: transform 420ms var(--motion-ease), filter 260ms var(--motion-ease);
}

.portfolio-image-card:active .image-preview {
  transform: scale(0.985);
}

.pinterest-modal.open .pinterest-viewer {
  animation: viewerSlideIn 360ms var(--motion-ease) both;
}

.pinterest-modal.open .pinterest-related {
  animation: relatedFadeIn 460ms var(--motion-ease) 90ms both;
}

.pinterest-main-image img {
  animation: selectedImageIn 420ms var(--motion-ease) both;
}

.pin-related-card {
  transition: transform var(--motion-fast) var(--motion-ease), filter var(--motion-fast) var(--motion-ease);
}

.pin-related-card:hover {
  transform: translateY(-3px);
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes collageDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--collage-rotate, 0deg));
  }
  to {
    transform: translate3d(0, -8px, 0) rotate(var(--collage-rotate, 0deg));
  }
}

@keyframes feedRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes viewerSlideIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes relatedFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes selectedImageIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
