/* --- Creative Contact / Get in touch section --- */
.contact-creative {
  display: flex;
  align-items: center;
  gap: 38px;
  background: linear-gradient(120deg, rgba(76,218,221,0.13) 0%, rgba(129,52,175,0.10) 100%);
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(76,218,221,0.07), 0 1.5px 8px rgba(0,0,0,0.10);
  padding: 44px 38px;
  margin-top: 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.contact-icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76,218,221,0.10);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(129,52,175,0.08);
}
.contact-content {
  flex: 1 1 320px;
  min-width: 220px;
}
.contact-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 12px;
  font-weight: 800;
}
.contact-content h2 span {
  color: var(--primary);
  background: linear-gradient(90deg, #4cdadd 0%, #8134af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-content p {
  color: var(--muted);
  font-size: 1.13rem;
  margin-bottom: 22px;
}
.contact-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .contact-creative { flex-direction: column; gap: 22px; padding: 28px 12px; }
  .contact-icon { margin: 0 auto; }
}
/* --- Contact / Get in touch section --- */
.contact-box {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contact-link {
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(76,218,221,0.08);
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.2s;
}
.contact-link:hover {
  background: rgba(76,218,221,0.18);
  text-decoration: underline;
}
.instagram-btn {
  background: linear-gradient(90deg, #f58529 0%, #dd2a7b 60%, #8134af 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 13px 34px;
  border-radius: 18px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px rgba(221,42,123,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  outline: none;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.instagram-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #232323;
  z-index: -1;
  opacity: 0.18;
}
.instagram-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(221,42,123,0.13);
  text-decoration: none;
}

.linkedin-btn {
  background: linear-gradient(90deg, #0077b5 0%, #00a0dc 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 13px 34px;
  border-radius: 18px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px rgba(0,160,220,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  outline: none;
  background-clip: padding-box;
}

.linkedin-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #232323;
  z-index: -1;
  opacity: 0.18;
}

.linkedin-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,160,220,0.13);
  text-decoration: none;
}
/* --- Custom Hero Section with Photo --- */
.hero-flex {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-photo {
  flex: 0 0 220px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(76,218,221,0.13), 0 1.5px 8px rgba(0,0,0,0.10);
  background: linear-gradient(135deg, #4cdadd22 0%, #232323 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.hero-intro {
  flex: 1 1 320px;
  min-width: 260px;
}
.hero-intro h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  margin-bottom: 18px;
  line-height: 1.18;
}
.hero-intro span {
  color: var(--primary);
}
.hero-intro p {
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 22px;
}
@media (max-width: 800px) {
  .hero-flex { flex-direction: column; gap: 28px; align-items: flex-start; }
  .hero-photo { margin: 0 auto; }
}
:root {
  --primary: #4cdadd;
  --bg-1: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #232323;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 30% -10%, rgba(76, 218, 221, 0.18), transparent 40%), var(--bg-1);
  line-height: 1.65;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1400px, 92%); margin: 0 auto; }
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 15, 15, 0.93); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--primary); }
.nav-links { display: flex; gap: 26px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--primary); }
.hero { padding: 96px 0 64px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 16px; max-width: 820px; }
.hero h1 span { color: var(--primary); }
.hero p { max-width: 760px; color: var(--muted); margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { padding: 11px 22px; border-radius: 8px; font-weight: 700; border: 2px solid transparent; display: inline-block; transition: 0.25s ease; }
.btn.primary { background: var(--primary); color: #000; }
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost { border-color: var(--primary); color: var(--primary); }
.btn.ghost:hover { background: rgba(76, 218, 221, 0.1); }
section { padding: 74px 0; }
.section-title { margin-bottom: 26px; }
.section-title h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); margin-bottom: 8px; }
.section-title p { color: var(--muted); max-width: 780px; }
.projects { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px 18px;
  margin-top: 32px;
}
.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.13);
  background: #111;
  min-height: 360px;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(0,0,0,.28); }
.project-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(1.09);
}
.project-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px 18px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.22), transparent);
}
.project-overlay h3 {
  font-size: 1.22rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.project-overlay p { color: #e0e0e0; font-size: 0.98rem; font-weight: 500; }
.project-card.wide {
  grid-column: 1 / span 5;
  grid-row: 1 / span 1;
  min-height: 360px;
}
.project-card.small {
  grid-column: 6 / span 3;
  grid-row: 1 / span 1;
  min-height: 360px;
}
.project-card.tall {
  grid-column: 6 / span 2;
  grid-row: 2 / span 2;
  min-height: 740px;
}
.project-card.half { grid-column: span 4; min-height: 360px; }
.project-card.fullwide  {grid-column: span 8; max-height: 400px; }
.about-box { background: linear-gradient(140deg, rgba(76,218,221,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 28px; }
.about-box p { color: var(--muted); }
.next-step { background: var(--bg-2); }
.next-box { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; background: var(--bg-3); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 26px; }
.next-box p { color: var(--muted); max-width: 680px; }
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0; color: var(--muted); font-size: .92rem; }

/* Project page styles */
.back-link { color: var(--muted); font-weight: 600; }
.back-link:hover { color: var(--primary); }
.project-layout { padding: 56px 0 60px; }
.headline { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 16px; }
.sub { font-size: 1.8rem; margin-bottom: 20px; }
em { color: var(--primary); font-style: italic; }
.lead p { color: var(--muted); margin-bottom: 12px; max-width: 760px; }
.overview { background: var(--bg-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 26px; margin-top: 100px; margin-bottom: 40px; }
.overview h3 { font-size: 2rem; margin-bottom: 16px; }

/* Improve contrast for white headings on light backgrounds */
h3 { text-shadow: 0 1px 2px rgb(0, 0, 0); }
.overview-item { margin-bottom: 10px; }
.overview-item strong { color: #fff; }
.hero-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-top: 32px; }
.hero-image { background: #111; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden;   }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero gallery layout modifiers
   Usage:
     <div class="hero-gallery grid-1-1">...</div>
     <div class="hero-gallery grid-2-1">...</div>
     <div class="hero-gallery grid-1-2">...</div>
   Use `.span-full` on a child to make it span both columns. */
.hero-gallery .grid-1-1 { grid-template-columns: 1fr; }
.hero-gallery .grid-2-1 { grid-template-columns: 2fr 1fr; grid-auto-rows: auto; }
.hero-gallery .grid-1-2 { grid-template-columns: 1fr 2fr; grid-auto-columns: auto; }
.hero-gallery .span-full { grid-column: 1 / -1; }
/* Make a child span two rows in a two-row layout */
.hero-gallery .span-rows-2 { grid-row: span 2; }

@media (max-width: 980px) {
  .hero-gallery { grid-template-columns: 1fr; gap: 22px 0; }
  .hero-image { min-height: 220px; }
  .sub { font-size: 1.4rem; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .gallery { grid-template-columns: 1fr; gap: 16px 0; }
  .project-card img { min-height: 200px; }
}
/* Lead grid for project pages (replaces inline grid styles) */
.lead-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 48px; align-items: start; margin-bottom: 40px; }


/* Adjust project layout and hero gallery for medium/narrow screens */
@media (max-width: 980px) {
  .lead-grid { grid-template-columns: 1fr; gap: 22px 0; }
  .hero-gallery { grid-template-columns: 1fr; gap: 22px 0; }
  .project-layout { padding: 40px 0 44px; }
}

/* Ensure full-width cards and readable overlays on small devices */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .gallery { grid-template-columns: 1fr; gap: 16px 0; }
  .project-card img { min-height: 200px; }
  .project-card.wide,
  .project-card.small,
  .project-card.tall,
  .project-card.half { grid-column: 1 / -1; grid-row: auto; }
  .project-card.wide-last {
  grid-column: 1 / -1 !important;
  grid-row: 3;
}
  .project-overlay h3 { font-size: 1rem; }
  .project-overlay p { font-size: 0.92rem; }
  .btn { padding: 10px 16px; }
}

/* Responsive video embeds (Vimeo / YouTube) */
.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */ overflow: hidden; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
}

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.45rem;
  cursor: pointer;
  padding: 8px 10px;
}

@media (max-width: 980px) {
  .mobile-menu-btn { display: block; }
  .nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    background: var(--bg-3);
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    z-index: 30;
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 8px 6px; border-radius: 8px; }
  .nav-links a:hover { background: rgba(255,255,255,0.02); }
}