/* =========================================
   1. SCULPTED EMBOSSED TOKENS (WHITE + GOLD + BLUE)
   ========================================= */
:root {
  --bg-page: #e5ebf3;
  --bg-card: #f3f6fa;
  --bg-well: #e9eef5;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --accent-blue: #1d4ed8;
  --accent-blue-dark: #1e3a8a;
  --accent-gold: #d97706;
  --accent-gold-bright: #f59e0b;

  /* Sculpted Raised Relief */
  --emboss-card:
    12px 12px 24px rgba(148, 163, 184, 0.55),
    -10px -10px 22px rgba(255, 255, 255, 0.96),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);

  --emboss-pill:
    6px 6px 14px rgba(148, 163, 184, 0.48),
    -6px -6px 14px rgba(255, 255, 255, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);

  --emboss-card-hover:
    16px 16px 30px rgba(130, 148, 173, 0.62),
    -12px -12px 26px rgba(255, 255, 255, 1),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  /* Carved / Recessed Well Relief */
  --emboss-well:
    inset 6px 6px 12px rgba(148, 163, 184, 0.52),
    inset -6px -6px 12px rgba(255, 255, 255, 0.92);

  --grad-primary: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
  --grad-gold: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
}

/* =========================================
   2. GLOBAL RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.92) 0%, transparent 42%),
    radial-gradient(circle at 86% 16%, rgba(254, 243, 199, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 80% 55%, rgba(191, 219, 254, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 50% 92%, rgba(203, 213, 225, 0.55) 0%, transparent 55%);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold-bright));
  z-index: 2000;
}

.cursor-glow,
.bg-orb,
.particles-layer {
  display: none;
}

/* =========================================
   3. SPLASH SCREEN (#entry-screen)
   ========================================= */
#entry-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease, visibility 0.5s ease;
}

#entry-screen.slide-out {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-content {
  padding: 2.2rem 2.6rem;
  border-radius: 30px;
  background: var(--bg-card);
  box-shadow: var(--emboss-card);
  animation: gentlePopIn 0.45s ease-out;
}

@keyframes gentlePopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.entry-logo {
  height: 70px;
  width: auto;
  margin: 0 auto 1rem;
  animation: gentleFloat 2.4s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.entry-tagline {
  color: var(--accent-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2.6px;
  margin-bottom: 1.25rem;
}

.entry-loader {
  width: 200px;
  height: 9px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  overflow: hidden;
  padding: 2px;
}

.entry-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold-bright));
  animation: splashProgress 0.65s ease-out forwards;
}

@keyframes splashProgress {
  to { width: 100%; }
}

/* =========================================
   4. EMBOSSED TOP NAVIGATION + BRAND
   ========================================= */
header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(92%, 1240px);
  padding: 0.68rem 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 246, 250, 0.95);
  box-shadow: var(--emboss-pill);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  color: var(--text-dark);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2.6px;
  color: var(--accent-gold);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.desktop-nav a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:not(.btn):hover {
  color: var(--accent-blue);
  box-shadow: var(--emboss-well);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  box-shadow: var(--emboss-pill);
  color: var(--text-dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobile-menu-btn:active {
  transform: scale(0.96);
  box-shadow: var(--emboss-well);
}

.mobile-drawer {
  position: fixed;
  top: 86px;
  left: 4%;
  right: 4%;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem;
  border-radius: 26px;
  background: var(--bg-card);
  box-shadow: var(--emboss-card);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer a:not(.btn) {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: var(--emboss-pill);
}

/* =========================================
   5. EMBOSSED BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow:
    7px 7px 16px rgba(29, 78, 216, 0.32),
    -5px -5px 12px rgba(255, 255, 255, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    9px 9px 20px rgba(29, 78, 216, 0.38),
    -6px -6px 14px rgba(255, 255, 255, 0.98),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 4px 4px 8px rgba(15, 23, 42, 0.38);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: var(--emboss-pill);
}

.btn-outline:hover {
  color: var(--accent-gold);
  box-shadow: var(--emboss-card-hover);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: var(--emboss-well);
}

.btn-card {
  background: var(--bg-card);
  color: var(--accent-blue);
  box-shadow: var(--emboss-pill);
  padding: 0.65rem 1.35rem;
  font-size: 0.84rem;
}

.btn-card:hover {
  color: var(--accent-gold);
  box-shadow: var(--emboss-card-hover);
  transform: translateY(-1px);
}

.btn-card:active {
  transform: scale(0.98);
  box-shadow: var(--emboss-well);
}

/* =========================================
   6. HERO SECTION & EMBOSSED PROFILE CARD
   ========================================= */
.hero {
  position: relative;
  padding: 8.25rem 6% 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 3rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.52rem 1.25rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.hero h1 span {
  color: var(--accent-blue);
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.highlight-name {
  font-weight: 800;
  color: var(--text-dark);
}

.highlight-brand {
  font-weight: 900;
  color: var(--accent-gold);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.profile-card {
  width: 100%;
  max-width: 355px;
  padding: 1.35rem;
  border-radius: 32px;
  text-align: center;
  background: var(--bg-card);
  box-shadow: var(--emboss-card);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  animation: cardBreathe 3.6s ease-in-out infinite alternate;
}

@keyframes cardBreathe {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.profile-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--emboss-card-hover);
}

.profile-box {
  width: 100%;
  aspect-ratio: 4 / 4;
  max-height: 310px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  padding: 7px;
}

.profile-box img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.profile-card:hover .profile-box img {
  transform: scale(1.03);
}

.profile-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.profile-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* =========================================
   7. EMBOSSED PORTFOLIO & SERVICES
   ========================================= */
section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 6%;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header small {
  display: inline-block;
  padding: 0.38rem 1.05rem;
  border-radius: 999px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  color: var(--accent-gold);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 0.75rem;
  color: var(--text-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.85rem;
}

.project-card,
.service-box {
  background: var(--bg-card);
  box-shadow: var(--emboss-card);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.project-card:hover,
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--emboss-card-hover);
}

.project-thumb {
  position: relative;
  height: 185px;
  margin: 0.95rem 0.95rem 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--accent-blue);
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.04);
}

.project-thumb-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.project-info {
  padding: 1.4rem 1.5rem 1.6rem;
}

.project-info span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.project-info h3 {
  margin: 0.4rem 0 0.65rem;
  font-size: 1.18rem;
  color: var(--text-dark);
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-box {
  padding: 1.85rem;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--grad-gold);
  box-shadow:
    5px 5px 12px rgba(217, 119, 6, 0.25),
    -4px -4px 10px rgba(255, 255, 255, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-box:hover .service-icon {
  transform: translateY(-3px) scale(1.06);
}

.service-box h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.service-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   8. LIGHTWEIGHT SCROLL REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* =========================================
   9. EMBOSSED WAVE & FOOTER
   ========================================= */
.wave-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  overflow: hidden;
}

.wave-svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-svg path {
  fill: var(--bg-card);
}

footer {
  background: var(--bg-card);
  box-shadow: 0 -8px 24px rgba(148, 163, 184, 0.25);
  padding: 3.25rem 6% 2rem;
  text-align: center;
}

footer h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

footer p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.75rem;
}

.contact-details {
  margin: 2.25rem auto 0;
  max-width: 620px;
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-details span {
  color: var(--accent-blue);
  font-weight: 700;
}

.copyright {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   10. EMBOSSED MODAL & ADMIN PORTAL
   ========================================= */
.admin-trigger-link {
  margin-left: 0.75rem;
  background: var(--bg-card);
  color: var(--accent-gold);
  box-shadow: var(--emboss-pill);
  border: none;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-trigger-link:active {
  transform: scale(0.97);
  box-shadow: var(--emboss-well);
}

.glass-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.glass-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal-card {
  position: relative;
  width: min(100%, 600px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 30px;
  background: var(--bg-card);
  box-shadow: var(--emboss-card);
  color: var(--text-dark);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}

.glass-modal-backdrop.open .glass-modal-card {
  transform: translateY(0) scale(1);
}

.glass-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  box-shadow: var(--emboss-pill);
  color: var(--text-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.glass-modal-close:active {
  box-shadow: var(--emboss-well);
}

.glass-modal-media {
  position: relative;
  height: 220px;
  margin: 1rem 1rem 0;
  border-radius: 22px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.glass-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.glass-modal-placeholder {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-blue);
  padding: 1rem;
  text-align: center;
}

.glass-modal-body {
  padding: 1.6rem;
}

.glass-modal-category {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.glass-modal-body h3 {
  font-size: 1.45rem;
  margin: 0.35rem 0 0.7rem;
  color: var(--text-dark);
}

.glass-modal-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.glass-modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.glass-modal-list li::before {
  content: "✦ ";
  color: var(--accent-gold);
  font-weight: 700;
}

.glass-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  border: none;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
}

.admin-preview-box {
  min-height: 150px;
  border-radius: 20px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.admin-preview-box img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

/* =========================================
   11. ADMIN LOGIN & PUBLISHED ITEMS MANAGER
   ========================================= */
.admin-error-msg {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 1.1rem;
  margin-bottom: 0 !important;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  background: var(--bg-well);
  box-shadow: var(--emboss-well);
}

.admin-status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.admin-lock-btn {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: var(--emboss-pill);
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-manage-section {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  text-align: left;
}

.admin-manage-section h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.admin-published-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.admin-published-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: var(--emboss-pill);
}

.admin-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.admin-item-meta strong {
  font-size: 0.88rem;
  color: var(--text-dark);
}

.admin-item-meta small {
  font-size: 0.74rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.admin-delete-btn {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-delete-btn:hover {
  background: #fecaca;
}

/* =========================================
   12. RESPONSIVE BREAKPOINTS & REDUCED MOTION
   ========================================= */
@media (max-width: 850px) {
  .profile-card {
    animation: none;
  }

  header {
    padding: 0.65rem 1.2rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 7.5rem 5% 4.25rem;
    gap: 2.25rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  section {
    padding: 3.75rem 5%;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    height: 36px;
  }

  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.8px;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

  .hero {
    padding-top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.05s !important;
  }
}
/* =========================================
   KEEP UPLOADED IMAGES & TEXT LOCKED IN CARDS
   ========================================= */
.project-card,
.project-info,
.service-box,
.admin-published-item,
.admin-item-meta,
.admin-preview-box {
  min-width: 0;
  max-width: 100%;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-thumb {
  width: calc(100% - 1.9rem);
  height: 185px;
  flex-shrink: 0;
  overflow: hidden;
}

.project-thumb img,
.project-thumb-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

.project-info h3,
.project-info p,
.project-info span,
.admin-item-meta strong,
.admin-item-meta small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-preview-box {
  width: 100%;
  height: 180px;
  max-height: 180px;
  padding: 0.5rem;
  overflow: hidden;
}

.admin-preview-box img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
