/* ==========================================================================
   Triptih Studio — bold color-block redesign
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #1e1eff;
  --pink: #f7b8e4;
  --green: #00e6a3;
  --black: #0a0a0a;
  --white: #ffffff;
  --ink: #101014;
  --muted-ink: #55555f;
  --muted-on-dark: #9a9aa8;
  --card-line: rgba(0, 0, 0, 0.12);
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-anchor: none;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow-plain {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 0.95;
}

.section-head p {
  color: var(--muted-ink);
  max-width: 360px;
  font-size: 15px;
  margin: 0;
  font-family: var(--font-body);
  text-transform: none;
}

.section-pad { padding: 100px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; }

.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #eee; }

.btn-pink { background: var(--pink); color: var(--ink); }
.btn-pink:hover { background: #f9c9ea; }

.about-intro .btn-pink { margin-left: -6px; }

.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #33ecb4; }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #3a3aff; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover { border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.3);
}
.btn-outline-dark:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ==========================================================================
   Nav dock (floating, light)
   ========================================================================== */

.nav-dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  height: 52px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-logo {
  padding: 0 22px;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-ink);
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.nav-cta {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 0 26px;
  border: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta.on-blue {
  background: var(--pink);
  color: var(--ink);
}

.nav-burger {
  display: none;
  width: 52px;
  padding: 0;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 34px;
  text-transform: uppercase;
  color: var(--ink);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--blue);
  color: var(--white);
  padding: 90px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(52px, 8.4vw, 124px);
  line-height: 0.92;
}

.hero-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-visual img {
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  transform: rotate(6deg);
  background: transparent;
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.marquee-track span em {
  font-style: normal;
  display: inline-block;
  padding: 0 18px;
}

.marquee-blue span { color: var(--pink); }
.marquee-pink {
  background: var(--pink);
  border-top-color: rgba(0, 0, 0, 0.15);
}
.marquee-pink span { color: var(--black); }

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

/* ==========================================================================
   Service bands (accordion)
   ========================================================================== */

.service-band {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.band-white { background: var(--white); color: var(--ink); }
.band-pink { background: var(--pink); color: var(--ink); }
.band-black { background: var(--black); color: var(--white); }
.band-green { background: var(--green); color: var(--ink); }

.band-black { border-bottom-color: rgba(255, 255, 255, 0.12); }

.band-header {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 40px 32px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.band-header h3 {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.05;
}

.band-arrow {
  font-size: 26px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-band.open .band-arrow { transform: rotate(180deg); }

.band-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-band.open .band-content {
  max-height: 340px;
}

.band-content-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 40px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.band-content-inner p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
  text-transform: none;
}

.band-content-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
}

.band-content-inner ul li {
  padding: 6px 0;
  display: flex;
  gap: 8px;
}
.band-content-inner ul li::before { content: '\2192'; }

/* ==========================================================================
   About band
   ========================================================================== */

.about-band {
  background: var(--white);
  color: var(--ink);
}

.about-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro,
.about-showcase {
  min-width: 0;
}

.about-intro h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
  margin-bottom: 20px;
}

.about-intro p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-ink);
  max-width: 460px;
  margin: 0 0 28px;
  text-transform: none;
}

/* ---------- chat intro ---------- */
.about-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
}

.chat-row {
  display: flex;
}
.chat-them { justify-content: flex-start; }
.chat-us { justify-content: flex-end; }

.chat-bubble {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.4;
  padding: 13px 18px;
  border-radius: 20px;
  max-width: 78%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chat-row.in .chat-bubble { opacity: 1; transform: translateY(0); }

.bubble-them {
  background: #f0f0f2;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.bubble-us {
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* ---------- scrolling gallery ---------- */
.gallery-wrap {
  overflow: hidden;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  -webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
}
.gallery-wrap.in { opacity: 1; transform: translateY(0); }

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 26s linear infinite;
}
.gallery-wrap.paused .gallery-track { animation-play-state: paused; }

.gallery-item {
  flex: 0 0 auto;
  width: 190px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-line);
  background: none;
  padding: 0;
  cursor: pointer;
}

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

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

.gallery-disclaimer {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted-ink);
  text-transform: none;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ---------- lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }

.lightbox-figure {
  margin: 0;
  text-align: center;
}
.lightbox-figure img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 20px;
  margin: 0 auto;
}
.lightbox-figure figcaption {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ==========================================================================
   Pricing band
   ========================================================================== */

.pricing-band {
  background: var(--blue);
  color: var(--white);
}

.pricing-band .section-head h2 { color: var(--white); }
.pricing-band .section-head p { color: rgba(255, 255, 255, 0.75); }

.pricing-cards-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.price-tile {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.price-tile-alt {
  background: var(--black);
  color: var(--white);
}

.price-tile .tile-tag {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 16px;
}
.price-tile-alt .tile-tag { color: var(--muted-on-dark); }

.price-tile h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.tile-price {
  font-family: var(--font-display);
  font-size: 34px;
  margin-bottom: 18px;
}
.tile-price span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  color: var(--muted-ink);
  margin-left: 4px;
}
.price-tile-alt .tile-price span { color: var(--muted-on-dark); }

.tile-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}
.tile-features li {
  padding: 8px 0;
  border-top: 1px solid var(--card-line);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  gap: 8px;
}
.price-tile-alt .tile-features li { border-top-color: rgba(255, 255, 255, 0.18); }
.tile-features li::before { content: '\2713'; }

.price-tile .btn { align-self: flex-start; }

.pricing-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 32px;
}

.pricing-cta-row span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  text-transform: uppercase;
}

/* ==========================================================================
   Contact band
   ========================================================================== */

.contact-band {
  background: var(--pink);
  color: var(--ink);
}

.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-grid-new h2 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  margin-bottom: 20px;
}

.contact-grid-new > div > p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  opacity: 0.75;
  max-width: 360px;
  text-transform: none;
  margin: 0;
}

.form-new {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-new label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.form-new input,
.form-new select {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-new input::placeholder { color: rgba(16, 16, 20, 0.45); }
.form-new input:focus,
.form-new select:focus {
  outline: none;
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.form-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.connect-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.connect-row span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}
.connect-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.connect-row a:hover { transform: translateY(-2px); }
.connect-row svg { width: 16px; height: 16px; }

/* ==========================================================================
   Footer band
   ========================================================================== */

.footer-band {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 90px;
  text-align: center;
}

.footer-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 38px);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 24px;
}

.footer-bottom-new {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .hero-visual img { transform: rotate(3deg); }
  .about-grid-new { grid-template-columns: 1fr; gap: 0; }
  .about-showcase {
    border-top: 1px solid var(--card-line);
    margin-top: 28px;
    padding-top: 32px;
  }
  .pricing-cards-new { grid-template-columns: 1fr 1fr; }
  .contact-grid-new { grid-template-columns: 1fr; }
  .band-header { padding: 32px 32px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 56px; }
  .hero-grid { padding-bottom: 36px; }
  .section-pad { padding: 48px 0; }
  #about.section-pad { padding: 48px 0; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .band-header { padding: 22px 20px; }
  .band-content-inner { padding: 0 20px 26px; }
  .gallery-item { width: 160px; }
  .pricing-cards-new { grid-template-columns: 1fr; }
  .form-bottom-row { flex-direction: column; align-items: stretch; }
  .pricing-cta-row { flex-direction: column; align-items: flex-start; }
  .footer-band { padding: 48px 0 56px; }

  /* condensed nav dock: logo / burger / cta */
  .nav-dock {
    left: 16px;
    right: 16px;
    transform: none;
    bottom: 14px;
    width: auto;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-links-pill { display: none; }
  .nav-burger { display: flex; }
  .nav-logo { padding: 0 16px; font-size: 14px; }
  .nav-cta { padding: 0 18px; font-size: 13px; }
}
