:root {
  --bg: #070b16;
  --bg-alt: #0f172a;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: rgba(17, 24, 39, 0.96);
  --card: rgba(15, 23, 42, 0.72);
  --text: #edf2ff;
  --muted: #aeb9d8;
  --primary: #8b5cf6;
  --secondary: #ff5ca8;
  --accent: #4cc9f0;
  --gold: #f7c873;
  --success: #89f0c3;
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.55);
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #ff5ca8 32%, #ff9f43 72%, #f7c873 100%);
  --gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(255, 92, 168, 0.12), rgba(76, 201, 240, 0.12));
  --font-display: "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", sans-serif;
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.33), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 92, 168, 0.2), transparent 22%),
    radial-gradient(circle at bottom center, rgba(76, 201, 240, 0.18), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

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

::selection {
  background: rgba(255, 92, 168, 0.8);
  color: white;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

button,
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
}

.eyebrow,
.section-tag,
.project-chip,
.nav-link,
.filter-btn,
.newsletter-status,
.form-status {
  font-family: var(--font-sans);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(247, 200, 115, 0.8);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cursor-ring.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.45);
  border-color: var(--secondary);
  background: rgba(255, 92, 168, 0.18);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b1020, #110d22, #1a0f2b);
  z-index: 10000;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.preloader.hidden {
  transform: translateY(-101%);
  opacity: 0;
}

.spinner {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--secondary);
  border-right-color: var(--accent);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 30px rgba(255, 92, 168, 0.35);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 1.2rem 0;
  background: rgba(7, 11, 22, 0.5);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 700;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 35px rgba(139, 92, 246, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.nav-link {
  position: relative;
  color: var(--muted);
  transition: color 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.availability {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-toggle,
.mobile-menu,
.scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.mode-toggle:hover,
.mobile-menu:hover,
.scroll-top:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.2);
}

.mobile-menu {
  display: none;
}

/* Hero */
.hero-section {
  padding: 5rem 0 4rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  min-height: 78vh;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
}

.hero-copy h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  max-width: 760px;
}

.hero-text {
  max-width: 560px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

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

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.38);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
}

.typing-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  color: var(--text);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.cursor {
  color: var(--secondary);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: min(100%, 500px);
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.5));
  box-shadow: var(--shadow);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(255, 92, 168, 0.16), rgba(76, 201, 240, 0.18));
}

.hero-caption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(6, 10, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.96;
  max-width: 820px;
}

.section-number {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.09);
  font-weight: 700;
  letter-spacing: -0.08em;
  margin-bottom: 1rem;
}

/* About */
.about-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem 3rem;
  align-items: start;
}

.about-intro h2 {
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1;
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.about-details {
  display: grid;
  gap: 1rem;
}

.detail-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.detail-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
}

.detail-card p {
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-list span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.32);
}

.service-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-item h3 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.service-item p {
  color: var(--muted);
}

/* Projects */
.project-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem auto 2.5rem;
}

.search-box {
  width: min(380px, 100%);
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  outline: none;
}

.search-box input::placeholder {
  color: rgba(174, 185, 216, 0.75);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.5);
  color: var(--muted);
  transition: all 200ms ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

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

.project-card {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #101827;
  height: 470px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-body {
  padding: 1.2rem 0.25rem 0.2rem;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.project-chip {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.project-year {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.project-subtitle {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.project-body > p {
  color: var(--muted);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.case-study-toggle,
.gallery-toggle {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.case-study,
.project-gallery {
  display: none;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-study.open,
.project-gallery.open {
  display: block;
}

.case-study h4 {
  margin-top: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.case-study p,
.case-study li {
  color: var(--muted);
}

.case-study ul {
  margin: 0.8rem 0 1rem 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.project-gallery {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.project-gallery.open {
  display: grid;
}

.project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}

.no-results {
  margin-top: 2rem;
  text-align: center;
}

.no-results-message {
  padding: 1.5rem 2rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  color: var(--muted);
}

.hidden {
  display: none !important;
}

/* Testimonials */
.testimonial-quote {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(255, 92, 168, 0.12), rgba(76, 201, 240, 0.12));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 1000px;
}

.testimonial-author {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.author-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Newsletter */
.newsletter-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
}

.newsletter-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
}

.newsletter-copy p:last-child {
  margin-top: 0.9rem;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 19, 0.7);
  color: var(--text);
  outline: none;
}

.newsletter-form input {
  flex: 1 1 240px;
}

.newsletter-status,
.form-status {
  width: 100%;
  margin-top: 0.6rem;
  color: var(--success);
}

/* Journal */
.blog-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.2rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
}

.blog-date {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.blog-item h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 0.45rem;
}

.blog-item p {
  color: var(--muted);
}

.text-link {
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Experience */
.timeline {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.timeline-year {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.8rem;
}

.timeline-item p {
  color: var(--muted);
}

/* Contact */
.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.contact-copy > p {
  margin-top: 1.1rem;
  max-width: 560px;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-links a {
  color: var(--text);
  font-size: 1.1rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}

.contact-links address {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--border);
}

.contact-form label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* Footer */
.footer {
  padding: 2.2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: min(90vw, 1000px);
  width: 100%;
  display: grid;
  place-items: center;
  gap: 1rem;
}

.lightbox-content img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}

.lightbox-close {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
}

.lightbox-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

/* Responsive */
@media (max-width: 980px) {
  .hero-shell,
  .about-shell,
  .newsletter-shell,
  .contact-shell,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-list,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .blog-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 0.9rem 0;
  }

  .nav-links {
    display: none;
  }

  .availability {
    display: none;
  }

  .mobile-menu {
    display: grid;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 17vw, 5.5rem);
  }

  .section {
    padding: 5rem 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .filter-buttons {
    justify-content: flex-start;
  }

  .project-image {
    height: 360px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1rem, 1180px);
  }

  .brand-name {
    display: none;
  }

  .project-card {
    padding: 0.8rem;
  }

  .hero-meta {
    gap: 0.75rem 1rem;
  }

  .contact-links a,
  .text-link {
    width: 100%;
  }
}
