:root {
  --primary: #1a365d;
  --primary-dark: #0f1f38;
  --secondary: #2d4a7a;
  --accent: #4a6fc1;
  --accent-glow: rgba(74, 111, 193, 0.3);
  --light: #f8fafc;
  --light-gray: #e2e8f0;
  --dark: #1e293b;
  --gray: #64748b;
  --success: #10b981;
  --bg-gradient: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
  --card-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  background-color: #f1f5f9;
  overflow-x: clip;
}

body {
  font-family: "Open Sans", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: -0.3px;
}

section[id],
.hero[id] {
  scroll-margin-top: 5.5rem;
}

.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f1f5f9;
  background-image: radial-gradient(circle at 10% 20%, rgba(26, 54, 93, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(26, 54, 93, 0.03) 0%, transparent 20%);
  opacity: 0.7;
}

.bg-gradient-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}
.orb-1 {
  background: var(--primary);
  top: -150px;
  right: -150px;
}
.orb-2 {
  background: var(--accent);
  bottom: -150px;
  left: -150px;
  animation-delay: -10s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 54, 93, 0.1);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
header.site-header nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: height 0.3s ease;
}
header .nav-links {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.75rem);
  align-items: center;
}
header .nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-family: "Montserrat", sans-serif;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
header.nav-style-underline .nav-links a:not(.cta-nav)::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
header.nav-style-underline .nav-links a:not(.cta-nav):hover::after {
  width: 100%;
}
header .cta-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(74, 111, 193, 0.3);
}
header .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 6px;
  color: var(--primary);
}

.nav-overlay {
  display: none;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6.5rem,18vh,12rem) 1.25rem clamp(3.5rem,10vh,8rem);
  margin-top: 0;
  background: var(--bg-gradient);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 56rem);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* WebGL constellation network — sits behind hero copy (see js/constellation-field.js) */
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: clamp(1.85rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  margin-bottom: 2.5rem;
  line-height: 1.65;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  opacity: 0.9;
  max-width: 42rem;
  margin-inline: auto;
  font-weight: 300;
}
.buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}
.buttons a {
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.hero-client-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.gallery-section,
.services-section,
.founder-section {
  padding: clamp(4rem, 10vw, 6.25rem) 1.25rem;
  overflow-x: clip;
}
.about-section,
.values-section {
  padding: clamp(4rem, 10vw, 6.25rem) 1.25rem;
  background: var(--card-gradient);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(2rem, 6vw, 3.75rem);
}
.section-label {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.85rem, 6vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.section-subtitle {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}

.gallery-container {
  display: flex;
  width: max-content;
  animation: scrollGallery 30s linear infinite;
  will-change: transform;
}
.gallery-item {
  flex: 0 0 300px;
  height: 200px;
  margin: 0 15px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.about-content,
.founder-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}
.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.about-visual {
  flex: 0 0 45%;
}
.about-card {
  background: white;
  border-radius: 4px;
  padding: 2.5rem;
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.about-features {
  list-style: none;
}
.about-features li {
  padding: 0.8rem 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(26, 54, 93, 0.05);
}
.about-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  font-size: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--card-gradient);
  border-radius: 4px;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem);
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: 4px;
}
.service-icon i {
  color: white;
  font-size: 1.8rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
}
.value-card {
  background: white;
  border-radius: 4px;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem);
  border: 1px solid rgba(26, 54, 93, 0.1);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
}

.founder-content {
  justify-content: space-between;
  background: white;
  border-radius: 4px;
  padding: clamp(1.25rem, 5vw, 4rem);
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.founder-text {
  flex: 1;
}
.founder-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.founder-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.founder-image {
  flex: 0 1 min(100%, 300px);
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
}
.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section {
  padding: clamp(4rem, 10vw, 6.25rem) 1.25rem;
  background: var(--bg-gradient);
  color: white;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}
.contact-section .section-title {
  color: white;
}
.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
.contact-icon i {
  color: white;
  font-size: 1.8rem;
}
.contact-item a,
.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.contact-item a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 20px 30px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 0.8rem;
}
.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  color: white;
  font-size: 1.2rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.watermark {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 30px;
}

.site-footer-compact {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 1.25rem;
  text-align: center;
}

.site-footer-compact a {
  color: rgba(255, 255, 255, 0.9);
}

.auth-shell { min-height:100vh; padding: 8rem 1.25rem 2rem; background: var(--card-gradient); }
.auth-card {
  max-width: 560px; margin: 0 auto; background: white; border-radius: 12px; border: 1px solid rgba(26,54,93,.1);
  box-shadow: 0 20px 45px rgba(0,0,0,.1); padding: 2rem;
}
.auth-shell-login {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 1.25rem;
  overflow: hidden;
}
.auth-card input { width:100%; padding:.9rem 1rem; border:1px solid var(--light-gray); border-radius:8px; margin-top:.4rem; }
.auth-card button { margin-top: 1rem; background: var(--accent); color:white; border:none; border-radius:8px; padding:.85rem 1rem; width:100%; font-weight:600; }
.auth-card button,
.auth-card input {
  min-height: 44px;
}
.auth-title {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: clamp(1.7rem, 5vw, 2.2rem);
}
.auth-copy {
  color: var(--gray);
  margin-bottom: 1rem;
}
.auth-label {
  font-weight: 600;
  color: var(--secondary);
}
.auth-error {
  color: #b91c1c;
  margin-top: 0.75rem;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.25rem;
  color: var(--gray);
  font-size: 0.875rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}
.auth-btn-google {
  margin-top: 0.75rem;
  background: white;
  color: var(--secondary);
  border: 1px solid var(--light-gray);
}
.auth-btn-google:hover:not(:disabled) {
  background: #f8fafc;
}

.portal-shell {
  max-width: 1100px;
  margin: 0 auto;
}
.portal-title {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}
.portal-copy {
  color: var(--gray);
  margin-bottom: 1rem;
}
.portal-client {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.portal-card-title {
  color: var(--primary);
}
.portal-card-copy {
  color: var(--gray);
}
.grid-gallery { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:1rem; }
.gallery-card { border: 1px solid rgba(26,54,93,.15); border-radius: 10px; overflow: hidden; background: white; }
.gallery-card img { width:100%; height:180px; object-fit:cover; display:block; }
.gallery-card .meta { padding: .85rem; }
.portal-subtitle { margin-top: 2rem; }

.admin-switch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-demo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.admin-switch-card {
  background: white;
  border: 1px solid rgba(26, 54, 93, 0.15);
  border-radius: 10px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.admin-switch-card:hover {
  border-color: rgba(74, 111, 193, 0.45);
  box-shadow: 0 10px 20px rgba(26, 54, 93, 0.08);
  transform: translateY(-1px);
}
.admin-link {
  margin-top: 0.75rem;
  display: inline-flex;
  width: auto;
}
.admin-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.admin-pending-link {
  margin-top: 0.7rem;
  display: inline-flex;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.admin-pending-link:hover {
  color: var(--primary);
}

.client-dashboard-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.workspace-top {
  margin-bottom: 1rem;
}
.workspace-top-tight .portal-title {
  margin-bottom: 0.35rem;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
}
.workspace-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.workspace-greeting {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1.2;
}
.workspace-subtext {
  color: var(--gray);
  font-size: 0.85rem;
}
.workspace-subtext strong {
  color: var(--accent);
}
.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--light-gray);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.74rem;
  color: var(--gray);
}
.phase-pill strong {
  color: var(--dark);
}
.phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f766e;
  box-shadow: 0 0 8px rgba(15, 118, 110, 0.45);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.stat-card {
  position: relative;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem 1rem;
}
.stat-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
}
.stat-value {
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.stat-value-date {
  font-size: 1.25rem;
}
.stat-foot {
  color: var(--gray);
  font-size: 0.7rem;
}
.stat-foot-up {
  color: var(--success);
}
.project-hero-card {
  background: var(--bg-gradient);
  color: white;
  border-radius: 12px;
  padding: 1.35rem 1.45rem;
  margin-bottom: 1rem;
}
.project-hero-card .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.85rem;
}
.project-hero-card .hero-meta-item {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  opacity: 0.92;
}
.project-hero-card .hero-meta-item strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.project-hero-card .hero-meta-item span {
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
.workspace-location {
  font-size: 0.85rem;
  opacity: 0.85;
}
.project-hero-card h2 {
  margin-bottom: 0.25rem;
}
.dashboard-filter-bar {
  margin-bottom: 1rem;
  gap: 0.5rem;
}
.dashboard-filter-bar .filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(26, 54, 93, 0.2);
  background: #fff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  min-height: 34px;
}
.dashboard-filter-bar .filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(74, 111, 193, 0.08);
}
.dashboard-filter-bar .filter-btn.active {
  background: var(--bg-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px rgba(26, 54, 93, 0.2);
}
.deliverable-section {
  margin-bottom: 1rem;
}
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.deliverable-item {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.deliverable-item[hidden],
.empty-deliverable[hidden] {
  display: none !important;
}
.deliverable-item:hover {
  border-color: var(--accent);
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(74, 111, 193, 0.09);
}
.deliverable-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.deliverable-body {
  flex: 1;
}
.deliverable-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--dark);
}
.deliverable-meta {
  color: var(--gray);
  font-size: 0.85rem;
}
.deliverable-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 140px;
}
.deliverable-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.deliverable-date {
  font-size: 0.75rem;
  color: var(--gray);
}
.deliverable-actions {
  display: flex;
  gap: 0.25rem;
}
.deliverable-action-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--light-gray);
  background: #fff;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.deliverable-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.status-published {
  background: #d1fae5;
  color: #065f46;
}
.status-review {
  background: #dbeafe;
  color: #1e40af;
}
.status-draft {
  background: #fef3c7;
  color: #78350f;
}
.empty-deliverable {
  border: 1px dashed var(--light-gray);
  border-radius: 10px;
  padding: 0.85rem;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.6);
}
.workspace-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.side-card {
  border: 1px solid rgba(26, 54, 93, 0.15);
  border-radius: 10px;
  background: white;
  padding: 1rem;
}
.side-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}
.calendar-nav {
  display: flex;
  gap: 0.25rem;
}
.calendar-nav button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--light-gray);
  background: #fff;
  color: var(--gray);
  cursor: pointer;
}
.calendar-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.calendar-month {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: var(--primary);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.22rem;
}
.calendar-dow span {
  text-align: center;
  font-size: 0.64rem;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.calendar-day {
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--dark);
  border: 1px solid rgba(26, 54, 93, 0.1);
  background: #fff;
}
.calendar-day.muted {
  color: #94a3b8;
  border-style: dashed;
}
.calendar-day.event-day {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.side-row,
.activity-row {
  display: flex;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.side-row:last-child,
.activity-row:last-child {
  border-bottom: none;
}
.event-date-pill {
  width: 42px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  padding: 0.2rem 0.35rem;
  line-height: 1.2;
}
.event-date-pill strong {
  display: block;
  color: var(--primary);
}
.event-date-pill span {
  color: var(--gray);
  font-size: 0.7rem;
}
.event-title {
  font-size: 0.85rem;
  color: var(--dark);
}
.event-detail {
  font-size: 0.75rem;
  color: var(--gray);
}
.activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 0.35rem;
}

.tone-strategy {
  background: linear-gradient(135deg, #3b5fc1, #5878d4);
}
.tone-ops {
  background: linear-gradient(135deg, #0d6e65, #15938a);
}
.tone-insights {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
}
.tone-project {
  background: linear-gradient(135deg, #92400e, #b45309);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  header .mobile-menu-btn {
    display: block;
  }
  header .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(88vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 1.25rem 2rem;
    transition: right 0.3s ease;
    z-index: 1001;
  }
  header .nav-links.active {
    right: 0;
  }
  header .nav-links a {
    width: 100%;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 56, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
  }
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
  }
  .hero {
    padding: clamp(5.5rem, 14vh, 8rem) 1rem clamp(3rem, 8vh, 5rem);
    min-height: min(100svh, 48rem);
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  .buttons a {
    width: 100%;
    max-width: 300px;
  }
  .gallery-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    animation: none;
  }
  .gallery-item {
    flex: 0 0 auto;
    height: 150px;
    margin: 0;
  }
  .section-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }
  .about-content,
  .founder-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .founder-content {
    padding: 2.5rem 1.5rem;
  }
  .about-card {
    padding: 1.5rem 1.25rem;
  }
  .service-icon,
  .value-icon,
  .contact-icon {
    width: 58px;
    height: 58px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .auth-shell-login {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }
  .auth-card {
    padding: 1.5rem 1rem;
  }
  .grid-gallery {
    grid-template-columns: 1fr;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .workspace-welcome {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-hero-card .hero-meta {
    gap: 0.8rem;
  }
  .stat-row {
    grid-template-columns: 1fr;
  }
  .admin-demo-links {
    flex-direction: column;
  }
  .deliverable-item {
    align-items: flex-start;
  }
  .deliverable-right {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  header.site-header {
    padding: 0.75rem 0.85rem;
  }
  .hero-text p {
    margin-bottom: 1.5rem;
  }
  .buttons a {
    width: 100%;
    max-width: 100%;
  }
  .gallery-container {
    grid-template-columns: 1fr;
  }
  .gallery-section,
  .services-section,
  .founder-section,
  .about-section,
  .values-section,
  .contact-section {
    padding-inline: 0.85rem;
  }
  .section-label {
    letter-spacing: 1.3px;
    font-size: 0.8rem;
  }
  .contact-item {
    padding: 1.25rem 1rem;
  }
}

/* V2 markup used these dashboard classes without CSS. Added here so the kit reads. */
.client-dashboard-shell .section-header {
  text-align: left;
  max-width: none;
  margin: 0 0 0.75rem;
}
.client-dashboard-shell .section-title {
  font-size: 1.15rem;
  margin: 0;
}
.section-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.section-cat-line {
  width: 4px;
  height: 1.35rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.section-count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
}
.admin-switch-card .admin-link {
  margin-top: 0.75rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}
