/* ═══════════════════════════════════════════
   MARTA ROXX — styles.css
   Unified stylesheet for index, about, contact
   ═══════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #e8e0a0;
  --pink:   #FFB6E4;
  --lilac:  #C5ADFF;
  --orange: #FD7B52;
  --bg:     #F4F4F4;
  --white:  #ffffff;
  --text:   #1a1a1a;
  --muted:  #555;
  --nav-h:  68px;
  --pad:    clamp(2rem, 6vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  background: var(--pink);
  color: var(--text);
  border: 1.5px solid var(--text);
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { background: #ffaadf; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--yellow); transform: none; }

.btn-dark {
  background: var(--orange);
  color: var(--text);
  border-color: var(--text);
}
.btn-dark:hover { background: transparent; color: var(--text); transform: none; }

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
nav {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  /*height: var(--nav-h);  */
  height: 6em;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(0,0,0,0);
  transition: border-color 0.3s, background 0.3s;
}
nav.scrolled {
  border-bottom-color: rgba(0,0,0,0.07);
  background: rgba(244,244,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo { text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 40px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-mobile a:hover { opacity: 0.5; }

/* ═══════════════════════════════════════════
   REVEAL (shared animation)
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   FOOTER (index / about / contact version)
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3rem) var(--pad);
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { text-decoration: none; }
.footer-logo img { height: 24px; display: block; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: rgba(0,0,0,0.3); letter-spacing: 0.04em; }

.footer-socials {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.footer-socials a {
  color: rgba(0,0,0,0.4);
  transition: color 0.2s;
  display: flex;
}
.footer-socials a:hover { color: var(--text); }
.footer-socials i { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════
   INDEX — PAGE HEADER
   ═══════════════════════════════════════════ */
.page-header {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.ph-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ph-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--orange);
}

.ph-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.4rem;
  width: 70%;
}
.ph-title em { font-style: italic; font-weight: 300; }

.ph-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  max-width: 520px;
}

.ph-count {
  text-align: right;
  padding-bottom: 0.5rem;
  flex-shrink: 0;
}
.ph-count-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}
.ph-count-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-top: 0.4rem;
}

/* ── INDEX: Brand Intro Strip ── */
.brand-intro-strip {
  background: var(--lilac);
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bis-role {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
}
.bis-sep { font-size: 12px; color: rgba(0,0,0,0.3); }
.bis-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

/* ── INDEX: Filter Bar ── */
.filter-bar {
  background: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.28);
  margin-right: 0.3rem;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 0.38rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--pink); border-color: var(--text); color: var(--text); }

/* ── INDEX: Gallery ── */
.gallery-section {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 4vw, 5rem);
}
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 5rem);
}
.gallery-col.right { padding-top: clamp(5rem, 10vw, 10rem); }

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gallery-item.hidden { display: none; }
.gallery-item.visible { opacity: 1; transform: translateY(0); }

.gallery-img {
  width: 100%;
  overflow: hidden;
  background: #ddd;
}
.gallery-item.tall  .gallery-img { aspect-ratio: 3/4; }
.gallery-item.med   .gallery-img { aspect-ratio: 4/5; }
.gallery-item.wide  .gallery-img { aspect-ratio: 5/4; }
.gallery-item.sqr   .gallery-img { aspect-ratio: 1/1; }

.gallery-img-inner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img-inner { transform: scale(1.03); }

.gallery-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.gallery-caption-left { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.gallery-caption-name {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.gallery-caption-tag {
  width: fit-content;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--yellow);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  display: inline-block;
}
.gallery-caption-num {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

/* ── INDEX: Projects CTA ── */
.projects-cta {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1.5px solid rgba(0,0,0,0.08);
}
.pcta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 0.7rem;
}
.pcta-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pcta-title em { font-style: italic; font-weight: 300; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */

/* ── About: Hero ── */
.about-hero {
  padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.about-hero-left h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.about-hero-left h1 em { font-style: italic; font-weight: 300; }
.about-hero-left p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 1.2rem;
}
.about-hero-left p:last-of-type { margin-bottom: 2rem; }
.about-hero-right img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

/* ── About: Stats ── */
.about-stats {
  padding: clamp(3rem, 5vw, 4rem) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.stat-item { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
}

/* ── About: Services list ── */
.about-services {
  padding: clamp(3rem, 5vw, 5rem) var(--pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.about-services-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  padding-top: 0.3rem;
}
.services-list { display: flex; flex-direction: column; gap: 0; }
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  gap: 1rem;
}
.service-row:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.service-row-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text);
}
.service-row-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: var(--text);
  white-space: nowrap;
}

/* ── About: Brands ── */
.about-brands {
  padding: clamp(3rem, 5vw, 5rem) var(--pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-content: flex-start;
}
.brand-pill {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.contact-section {
  min-height: calc(100vh - var(--nav-h) - 80px);
  padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(3rem, 5vw, 5rem);
  max-width: 720px;
}
.contact-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.contact-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6bcf6b;
}
.contact-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}
.contact-title em { font-style: italic; font-weight: 300; }
.contact-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3.5rem;
}
.contact-links { display: flex; flex-direction: column; }
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
  gap: 1rem;
}
.contact-link:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.contact-link:hover { opacity: 0.45; }
.contact-link-left {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}
.contact-link-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,0.25);
}
.contact-link-name {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
}
.contact-link-handle {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .ph-title { font-size: 2.4rem; }
}

/* Mobile */
@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-links { display: none; }

  /* index */
 .page-header { grid-template-columns: 1fr; gap: 2rem; }
  .ph-title { width: 100%; }
  .ph-count { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr; row-gap: clamp(3rem, 8vw, 4.5rem); }
  .gallery-col.right { padding-top: 0; }

  /* about */
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-right { order: -1; }
  .about-hero-right img { aspect-ratio: 3/2; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-services { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-brands { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .ph-title { font-size: 1.8rem; }
}
