/* ============================================================
   WeCreative — Design Studio Landing Page
   ============================================================ */

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

:root {
  /* Color system */
  --bg: #0e0d0b;
  --bg-soft: #151310;
  --surface: #1b1815;
  --surface-2: #221e18;
  --fg: #f5f2ea;
  --fg-dim: #b6afa2;
  --fg-faint: #7c766a;
  --accent: #c9a13b;
  --accent-bright: #e6c265;
  --accent-dim: rgba(201, 161, 59, 0.14);
  --line: rgba(245, 242, 234, 0.12);
  --line-strong: rgba(245, 242, 234, 0.24);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --nav-scrim: rgba(14, 13, 11, 0.86);
  color-scheme: dark;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.6rem, 7.4vw, 6.4rem);
  --fs-h1: clamp(2.1rem, 4.6vw, 3.75rem);
  --fs-h2: clamp(1.7rem, 3.1vw, 2.65rem);
  --fs-h3: clamp(1.15rem, 1.9vw, 1.5rem);
  --fs-lg: clamp(1.05rem, 1.3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-label: 0.72rem;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4.5vw, 3.25rem);
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  --bg: #f7f3ea;
  --bg-soft: #efe8d8;
  --surface: #ffffff;
  --surface-2: #eee6d2;
  --fg: #1d1b17;
  --fg-dim: #514b40;
  --fg-faint: #837b6c;
  --accent: #a97c1f;
  --accent-bright: #8a6415;
  --accent-dim: rgba(169, 124, 31, 0.12);
  --line: rgba(29, 27, 23, 0.1);
  --line-strong: rgba(29, 27, 23, 0.22);
  --shadow: 0 30px 60px -20px rgba(30, 25, 15, 0.18);
  --nav-scrim: rgba(247, 243, 234, 0.86);
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-pad); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: var(--accent);
}

.eyebrow-center { justify-content: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #14120d;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.6rem;
  transition: padding 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  padding-block: 0.9rem;
  background: var(--nav-scrim);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.6);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 1.5rem; }
.nav-cta .btn { padding: 0.75rem 1.4rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--fg);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline-block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-cta { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-top: clamp(7.5rem, 16vw, 10rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .label { margin-bottom: 1.75rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.hero-sub {
  margin-top: 2rem;
  font-size: var(--fs-lg);
  color: var(--fg-dim);
  max-width: 44ch;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-meta {
  margin-top: 3.5rem;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.hero-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-bright);
}
.hero-meta-item span {
  font-size: var(--fs-sm);
  color: var(--fg-faint);
}

.hero-visual {
  position: relative;
  height: clamp(420px, 52vw, 620px);
}
.hero-img {
  position: absolute;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-main {
  width: 68%;
  height: 92%;
  top: 0;
  right: 0;
}
.hero-img-accent {
  width: 46%;
  height: 52%;
  left: 0;
  bottom: 0;
  border: 6px solid var(--bg);
}
.hero-tag {
  position: absolute;
  left: 6%;
  top: 6%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 0.7rem 1rem;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  z-index: 2;
}
.hero-tag strong { color: var(--accent-bright); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; text-transform: none; display: block; margin-bottom: 0.2rem;}

/* ============ Section headers ============ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.05;
  max-width: 16ch;
}
.section-head p {
  max-width: 34ch;
  color: var(--fg-dim);
  font-size: var(--fs-lg);
  line-height: 1.6;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 46ch; }

/* ============ Portfolio ============ */
.work { background: var(--bg); }
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 1.1rem;
}
.filter-btn {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-btn:hover { color: var(--fg); }
.filter-btn.is-active { color: var(--accent-bright); border-color: var(--accent); }

.portfolio-grid {
  columns: 3 340px;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}
.portfolio-item {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  opacity: 1;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.portfolio-item.is-hidden {
  display: none;
}
.portfolio-frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
  cursor: pointer;
}
.portfolio-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease);
}
.portfolio-frame:hover img { transform: scale(1.045); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(10,9,7,0.78) 0%, rgba(10,9,7,0) 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.portfolio-frame:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.portfolio-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.9rem;
}
.portfolio-caption h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}
.portfolio-caption span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}

/* ============ Services ============ */
.services { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-soft);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s var(--ease);
}
.service-card:hover { background: var(--surface); }
.service-index {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  line-height: 1;
  transition: -webkit-text-stroke-color 0.4s var(--ease);
}
.service-card:hover .service-index { -webkit-text-stroke-color: var(--accent); }
.service-card h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.service-card p {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--fg-dim);
  line-height: 1.65;
}
.service-card .bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-card:hover .bar { width: 100%; }

/* ============ Why us ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why-intro h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.08;
}
.why-intro p {
  margin-top: 1.75rem;
  font-size: var(--fs-lg);
  color: var(--fg-dim);
  max-width: 42ch;
  line-height: 1.7;
}
.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-point {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-point .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.why-point h4 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}
.why-point p {
  margin-top: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ============ Showcase ============ */
.showcase { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
}
.showcase-copy p {
  margin-top: 1.75rem;
  color: var(--fg-dim);
  font-size: var(--fs-lg);
  max-width: 38ch;
  line-height: 1.7;
}
.showcase-visual {
  position: relative;
  height: clamp(380px, 42vw, 560px);
}
.showcase-img {
  position: absolute;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-img-a { width: 56%; height: 100%; left: 0; top: 0; }
.showcase-img-b { width: 42%; height: 58%; right: 0; bottom: 0; border: 6px solid var(--bg-soft); }
.showcase-img-c { width: 30%; height: 34%; right: 8%; top: 0; border: 6px solid var(--bg-soft); z-index: 2; }

/* ============ Process ============ */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.process-step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.75rem;
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent);
}
.process-step h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.process-step p {
  margin-top: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--fg-dim);
  line-height: 1.65;
}

/* ============ About ============ */
.about { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-img {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.08;
  max-width: 16ch;
}
.about-copy p {
  margin-top: 1.5rem;
  color: var(--fg-dim);
  font-size: var(--fs-lg);
  max-width: 46ch;
  line-height: 1.75;
}
.about-copy p + p { margin-top: 1.1rem; }

/* ============ Testimonials ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  border: 1px dashed var(--line-strong);
  border-radius: 3px;
  padding: 2rem;
  position: relative;
}
.testimonial-flag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg-dim);
  line-height: 1.6;
}
.testimonial-attr {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  flex-shrink: 0;
}
.testimonial-attr strong { display: block; font-size: var(--fs-sm); color: var(--fg-faint); font-weight: 600; }
.testimonial-attr span { font-size: 0.78rem; color: var(--fg-faint); }

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  max-width: 18ch;
  margin-inline: auto;
}
.final-cta p {
  margin-top: 1.5rem;
  font-size: var(--fs-lg);
  color: var(--fg-dim);
}
.final-cta .hero-actions { justify-content: center; margin-top: 2.75rem; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .nav-logo { font-size: 1.6rem; }
.footer-brand p {
  margin-top: 1.25rem;
  color: var(--fg-dim);
  font-size: var(--fs-sm);
  max-width: 32ch;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--fg-dim);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent-bright); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h5 {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.4rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a, .footer-col address {
  font-size: var(--fs-sm);
  color: var(--fg-dim);
  font-style: normal;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.75rem;
  font-size: 0.78rem;
  color: var(--fg-faint);
}

/* ============ Portfolio lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: rgba(8, 7, 6, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0s;
}
.lightbox-content {
  max-width: min(900px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox-content { transform: translateY(0) scale(1); }
.lightbox-content img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.lightbox-caption { text-align: center; }
.lightbox-caption h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: #f5f2ea;
}
.lightbox-caption span {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a49c8c;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 234, 0.28);
  background: rgba(20, 18, 14, 0.4);
  color: #f5f2ea;
  font-size: 1.4rem;
  line-height: 1;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent-bright); }
.lightbox-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-prev { left: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-close, .lightbox-nav { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-outline, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.75rem;
  }
  .nav.is-open .nav-links a { padding-block: 0.85rem; width: 100%; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-mobile-cta { display: inline-flex; margin-top: 1.25rem; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: clamp(360px, 90vw, 480px); order: -1; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-visual { height: clamp(340px, 90vw, 460px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 16/10; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .portfolio-grid { columns: 2 260px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 520px) {
  .portfolio-grid { columns: 1 100%; }
  .hero-actions .btn, .final-cta .btn { width: 100%; justify-content: center; }
  .hero-actions, .final-cta .hero-actions { flex-direction: column; }
}
