:root {
  /* shadcn/ui inspired design tokens */
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --border: 217.2 32.6% 17.5%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --primary: 142.1 70.6% 45.3%;
  --primary-foreground: 355.7 100% 97.3%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f3f4f6;
}

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

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

.shell {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 0.9rem;
  background-color: #ecfdf5;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-block: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 160ms ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.hero {
  padding-block: 4.5rem 3.2rem;
  background: radial-gradient(circle at top left, #dcfce7 0, #f3f4f6 45%, #f9fafb 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 520px;
}

.hero-copy p {
  margin: 0 0 1.5rem;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out,
    border-color 120ms ease-out, color 120ms ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(22, 163, 74, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.7);
  color: #111827;
}

.btn.ghost:hover {
  background: #ffffff;
}

.btn.full-width {
  width: 100%;
}

.hero-highlights {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-card {
  background: #ffffff;
  border-radius: 1.3rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.image-slider {
  background: transparent;
  border-radius: 1rem;
  padding: 0.2rem 0;
  box-shadow: none;
  border: none;
  display: grid;
  gap: 0.7rem;
}

.image-slider-frame {
  border-radius: 1rem;
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
}

.image-slide {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  display: flex;
  flex-direction: column;
  margin: 6px;
  border-radius: 0.85rem;
  overflow: hidden;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  animation: slider-pan 16s ease-in-out infinite alternate;
}

.image-slide figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
}

@keyframes slider-pan {
  0% {
    transform: scale(1.02) translateX(-4px);
  }
  50% {
    transform: scale(1.06) translateX(0);
  }
  100% {
    transform: scale(1.02) translateX(4px);
  }
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  color: #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
}

.image-slider-controls {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.image-slider-controls button {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  color: #e5e7eb;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.image-slider-controls button:hover {
  border-color: #22c55e;
}

.image-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.image-slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.image-slider-dots .dot.active {
  width: 10px;
  background: #e5e7eb;
}

.section {
  padding-block: 3rem;
  background: #f9fafb;
}

.section.muted {
  background: #eff3f7;
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  color: #4b5563;
}

.capabilities {
  background: #f3f4f6;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.capability-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
  color: #374151;
}

.projects {
  background: #020617;
  color: #e5e7eb;
}

.projects .section-header p {
  color: #9ca3af;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.section-fullwidth-photo {
  padding: 0;
  background: #020617;
  color: #e5e7eb;
}

.section-fullwidth-photo-layer {
  position: relative;
  min-height: 60vh;
  background-image: url("photos/beautifulfalseceiling.jpeg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.section-fullwidth-photo-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.4), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9));
}

.section-fullwidth-photo-content {
  position: relative;
  padding-block: 5rem;
}

.section-fullwidth-photo-content h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.section-fullwidth-photo-content p {
  margin: 0;
  max-width: 30rem;
  color: #d1d5db;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

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

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

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.92rem;
}

.profile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.profile-role {
  margin: 0;
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 600;
}

.profile ul {
  font-size: 0.9rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.86rem;
  color: #374151;
}

/* Premium contact CTA section */

#contact.section {
  /* Double the vertical padding for this section */
  padding-block: 6rem;
}

#contact .section-header {
  max-width: 520px;
}

.contact-heading {
  margin: 0 0 0.5rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.7rem;
}

.contact-subtext {
  margin: 0;
  max-width: 30rem;
  color: #4b5563;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.contact-list .label {
  display: inline-block;
  min-width: 72px;
  font-weight: 600;
  color: #374151;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.6rem 0.7rem;
  font: inherit;
  resize: vertical;
  outline: none;
  background: #f9fafb;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
  background: #ffffff;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-block: 2.4rem 1.7rem;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
}

.footer-title {
  margin: 0;
  font-weight: 700;
}

.footer-tagline {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-columns h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
  display: grid;
  gap: 0.25rem;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.contact-cta {
  margin-top: 1.5rem;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-cta-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out,
    background 160ms ease-out;
}

.contact-cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(34, 197, 94, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

.contact-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  color: #064e3b;
  flex-shrink: 0;
}

.contact-cta-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-cta-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
}

.contact-cta-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
}

.contact-cta-note {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: #4b5563;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .projects-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .site-header .shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding-block: 2.4rem;
  }

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

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

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
