/* ============================================================
   PHOJOGRAPHER — SITE STYLES
   Light & editorial. Cormorant Garamond + DM Sans.
   ============================================================ */

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

:root {
  --white:    #FAFAF8;
  --ink:      #1C1A2E;
  --iris:     #7B5EA7;
  --lavender: #9E7FCC;
  --smoke:    #7B5EA7;
  --dust:     #C4C0D4;
  --rule:     #E4E1EE;
  --mist:     #F2F0F8;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w:       1160px;
  --pad-x:       clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(5rem, 10vw, 8rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* NAV */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--rule);
}

.nav-logo {
  display: block;
  line-height: 0;
}

.nav-logo img {
  height: 95px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--smoke);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-weight: 500 !important;
  color: var(--iris) !important;
  border: 0.5px solid var(--iris);
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--iris) !important;
  color: var(--white) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
  position: relative;
  z-index: 101;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}
/* HERO */

.hero {
  background: #1A1B2E;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6DBFCC;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 300;
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-bracket {
  border-left: 0.5px solid rgba(255,255,255,0.15);
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-perform {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  line-height: 1.2;
}

.hero-intro {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-rule {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding: 0 var(--pad-x);
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

.hero .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}

/* BUTTONS */

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--iris);
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  border: 1px solid var(--iris);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
  background: transparent;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  border: 0.5px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.btn-full { width: 100%; text-align: center; }

/* MARQUEE */

.marquee-wrap {
  overflow: hidden;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 0.85rem 0;
  background: var(--mist);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--smoke);
}
.marquee-track .dot {
  color: var(--iris);
  font-size: 14px;
  letter-spacing: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SECTIONS */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--pad-x);
}

.section--ruled {
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  max-width: 100%;
  padding: var(--section-gap) 0;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section--contact {
  max-width: 100%;
  background: var(--ink);
  color: var(--white);
  padding: var(--section-gap) var(--pad-x);
  border-top: 0.5px solid var(--rule);
}

.section-header { margin-bottom: 3.5rem; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* PROJECTS GRID */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--pad-x);
}

.project--featured {
  grid-row: span 2;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.project-img {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--mist);
  flex-shrink: 0;
}

.project--featured .project-img {
  height: 520px;
}

.project:not(.project--featured) .project-img {
  height: 220px;
}

.project-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  transition: opacity 0.25s;
}

.project:hover .project-placeholder {
  opacity: 0.75;
}

.project-placeholder span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  border: 0.5px solid var(--dust);
  padding: 0.35rem 0.85rem;
  border-radius: 1px;
}

.project-img--1 { background: #EAE7F4; }
.project-img--2 { background: #1e1a2a; }
.project-img--3 { background: #1a2030; }
.project-img--4 { background: #2a1a1a; }
.project-img--5 { background: #E8ECF0; }
.project-img--6 { background: #EDE9F5; }
.project-img--7 { background: #F0EDE8; }
.project-img--8 { background: #1a1e2e; }

.project-img--2 .project-placeholder span,
.project-img--3 .project-placeholder span,
.project-img--4 .project-placeholder span,
.project-img--8 .project-placeholder span {
  color: rgba(255,255,255,0.45);
  border-color: rgba(255,255,255,0.2);
}

.project-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 0.3rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.project:hover .project-title {
  color: var(--iris);
}

.project--featured .project-title {
  font-size: 26px;
}

.project-desc {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.65;
  display: none;
}

.project--featured .project-desc {
  display: block;
}

.project:hover .project-desc {
  display: block;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--ink);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--iris);
  opacity: 0.5;
  transition: opacity 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--accent::before {
  background: var(--lavender);
  opacity: 1;
}

.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}

.service-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
}

.service-desc {
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.service-list li {
  font-size: 13px;
  color: var(--white);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--iris);
  font-size: 11px;
  line-height: 1.6;
}

.service-card--accent .service-list li::before {
  color: var(--lavender);
}

.service-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lavender);
  border-bottom: 0.5px solid rgba(158, 127, 204, 0.4);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.service-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

.service-card--accent .service-cta {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.service-card--accent .service-cta:hover {
  color: var(--lavender);
  border-color: var(--lavender);
}

@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card:hover {
    transform: none;
  }
}

/* ABOUT */

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-img-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--mist);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--rule);
  padding-top: 1.25rem;
  gap: 1rem;
}

.credential-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.credential-label {
  font-size: 11px;
  color: var(--smoke);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.about-text .eyebrow { margin-bottom: 0.5rem; }
.about-text .section-title { margin-bottom: 1rem; }

.about-lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: var(--iris);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 0.5px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.social-link::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.social-link--instagram::before {
  background-image: url(../media/Images/Instagram_icon.png);
}

.social-link--youtube::before {
  background-image: url(../media/Images/Youtube_logo.png);
}

.social-link--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A84A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22%2C6 12%2C13 2%2C6'/%3E%3C/svg%3E");
}

.social-link:hover {
  color: var(--iris);
  border-color: var(--iris);
}

/* CONTACT */

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-inner .eyebrow { color: var(--lavender); }

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0.75rem 0 1rem;
}

.contact-title em {
  color: var(--lavender);
  font-style: italic;
}

.contact-sub {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2rem;
}

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

.contact-link {
  font-size: 14px;
  color: var(--ink);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--lavender); }

.contact-location {
  font-size: 14px;
  color: var(--ink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--smoke); }

.field input:focus,
.field textarea:focus { border-color: var(--lavender); }

.contact-form .btn-primary {
  background: var(--lavender);
  border-color: var(--lavender);
}
.contact-form .btn-primary:hover {
  background: var(--iris);
  border-color: var(--iris);
}

/* FOOTER */

.footer {
  background: var(--ink);
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding: 3rem var(--pad-x);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: var(--dust);
}
.footer-logo span { color: var(--lavender); }

.footer-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--smoke);
}

.footer-copy {
  font-size: 12px;
  color: var(--smoke);
  opacity: 0.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.75;
}

.landing-logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.65;
  margin-bottom: calc(1.5rem + 8px);
}
@media (max-width: 768px) {
  .landing-logo { display: none; }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project--featured {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .project--featured .project-img {
    width: 55%;
    height: 340px;
    flex-shrink: 0;
  }

  .project--featured .project-title { font-size: 22px; }
  .project--featured .project-desc { display: block; }
}

.project--featured .project-img {
  height: 460px;
}

.project:not(.project--featured) .project-img {
  height: 200px;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 var(--pad-x);
  }

  .hero-bracket {
    border-left: none;
    padding-left: 0;
    border-top: 0.5px solid var(--iris);
    padding-top: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img { aspect-ratio: 4 / 5; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project--featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .project--featured .project-img {
    width: 100%;
    height: 300px;
  }

  .project:not(.project--featured) .project-img {
    height: 220px;
  }

  .project-desc { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    top: 98px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 0.5px solid var(--rule);
    flex-direction: column;
    padding: 1.5rem var(--pad-x) 2rem;
    gap: 1.5rem;
    z-index: 99;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links--open { display: flex; }
  .nav-burger { display: flex; }

  /* Show dropdowns flat inside open mobile nav */
  .nav-links--open .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0.25rem 0 0 1rem;
    min-width: unset;
    margin-top: 0;
  }

  .nav-links--open .nav-dropdown-menu li a {
    font-size: 13px;
    color: var(--dust);
    padding: 0.35rem 0;
  }

  .nav-dropdown > a::after { display: none; }

  .hero-title { font-size: clamp(60px, 16vw, 80px); }

  .nav-logo img { height: 60px; }

  .nav {
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* PROJECT PAGES */

.project-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  border-bottom: 0.5px solid var(--rule);
}

.project-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.project-back {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--smoke);
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.project-back:hover { color: var(--iris); }

.project-hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0.5rem 0 1.5rem;
}

.project-hero-desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
  max-width: 640px;
}

.project-gallery {
  padding: 4rem 0;
}

.project-gallery-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gallery-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.gallery-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.project-next {
  border-top: 0.5px solid var(--rule);
  padding: 3rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.project-next-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.project-next-link:hover { opacity: 0.6; }

.project-next-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
}

.project-next-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

@media (max-width: 640px) {
  .gallery-row,
  .gallery-row--3 {
    grid-template-columns: 1fr;
  }
}

/* NAV DROPDOWN */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 0.5px solid var(--rule);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(28, 26, 46, 0.08);
  z-index: 200;
  list-style: none;
  /* bridge the gap with padding so mouse doesn't leave the element */
  padding-top: 0.75rem;
  margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* invisible bridge between link and dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 13px;
  color: var(--smoke);
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  color: var(--iris);
  background: var(--mist);
}

.nav-dropdown > a::after {
  content: ' ↓';
  font-size: 10px;
  opacity: 0.5;
}

/* TESTIMONIALS */

.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #1A1B2E;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars {
  color: #F5A623;
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.65;
  flex-grow: 1;
}

.testimonial-attr {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A9ECC;
  margin-top: auto;
}

@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* middle section */

.section--duality {
  padding: 5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.section--duality {
  padding: 5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.duality-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.duality-divider {
  display: none;
}

.duality-card {
  background: #1A1B2E;
  border-radius: 10px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.duality-card .eyebrow {
  color: #6DBFCC;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.duality-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.duality-body {
  font-size: 0.95rem;
  color: #9A9ECC;
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

.duality-card .btn-ghost {
  align-self: flex-start;
  margin-top: 0.5rem;
  border-color: rgba(255,255,255,0.25);
  color: #ffffff;
}

.duality-card .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 720px) {
  .duality-inner {
    grid-template-columns: 1fr;
  }
}

/* ── LIGHTBOX ─────────────────────────────────────────────────────────────── */

.project-gallery img {
  cursor: zoom-in;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 9, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lb-overlay.lb-open {
  opacity: 1;
  pointer-events: auto;
}

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.93);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lb-overlay.lb-open .lb-img-wrap {
  transform: scale(1);
}

.lb-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  display: block;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.18s ease;
}

.lb-img.lb-fade {
  opacity: 0;
}

.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
  z-index: 1;
}

.lb-close:hover { color: #fff; }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 1rem 1.25rem;
  transition: color 0.2s;
  z-index: 1;
  user-select: none;
}

.lb-arrow:hover { color: #fff; }
.lb-prev { left: 0.25rem; }
.lb-next { right: 0.25rem; }

.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 600px) {
  .lb-arrow { font-size: 1.4rem; padding: 0.75rem; }
  .lb-close { font-size: 1.25rem; }
}

/* ── TOOLS STRIP ──────────────────────────────────────────────────────────── */

.tools-strip {
  border-bottom: 0.5px solid var(--rule);
  padding: 3rem var(--pad-x);
}

.tools-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tools-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.tool-chip:hover {
  border-color: var(--iris);
  background: var(--mist);
}

.tool-icon {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--white);
  background: var(--iris);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.tool-name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
}

@media (max-width: 600px) {
  .tools-row { gap: 0.5rem; }
  .tool-chip { padding: 0.4rem 0.8rem; }
}

