:root {
  --pink: #d22a78;
  --teal: #1aabb8;
  --ink: #1b1236;
  --muted: #6f6882;
  --line: #eceaf1;
  --paper: #ffffff;
  --mist: #f6f5f8;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: "Plus Jakarta Sans", Montserrat, sans-serif;
  border-top: 3px solid var(--pink);
}

.font-syne { font-family: Syne, Montserrat, sans-serif; }

.site-logo {
  height: 58px;
  width: auto;
  display: block;
}

.brand-gradient-text {
  background: linear-gradient(120deg, #1aabb8 0%, #7a3ea1 48%, #d22a78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(27, 18, 54, 0.05);
}

.glass-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(27, 18, 54, 0.06);
}

.glass-card-hover:hover {
  border-color: rgba(26, 171, 184, 0.55);
  transform: translateY(-3px);
}

/* Light surfaces keep dark type. Filled accent controls keep white type. */
.text-white,
.text-gray-200,
.text-gray-300 {
  color: var(--ink) !important;
}

.text-gray-400,
.text-gray-500 {
  color: var(--muted) !important;
}

.nav-link {
  color: #2b2440 !important;
  background: transparent;
  border: 0;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--teal) !important;
}

.nav-menu.is-dismissed > .nav-flyout {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.bg-brand-magenta,
.bg-purple-600,
.from-brand-magenta,
.bg-black\/60,
.bg-black\/80,
#lightboxModal > div > button,
.lightbox-close {
  color: #fff !important;
}

.bg-brand-magenta.text-white,
.bg-purple-600.text-white,
.from-brand-magenta.text-white,
.bg-black\/60.text-white {
  color: #fff !important;
}

header .book-cta > span,
.book-cta > span {
  background: var(--pink) !important;
  color: #fff !important;
}

.hover\:text-white:hover {
  color: var(--teal) !important;
}

input,
select,
textarea {
  background: var(--mist) !important;
  color: var(--ink) !important;
  border-color: #e4e1ea !important;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d22a78 !important;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: #d22a78 !important;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

footer {
  background: var(--mist) !important;
}

#toast {
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: 0 16px 40px rgba(27, 18, 54, 0.14);
  left: 1rem;
  right: 1rem;
  width: auto;
}

@media (min-width: 640px) {
  #toast {
    left: auto;
    right: 1.5rem;
    max-width: 24rem;
  }
}

.portfolio-item .absolute,
#lightboxModal {
  color: #fff;
}

.portfolio-filter-btn.bg-brand-magenta,
.service-tab-btn.bg-brand-magenta {
  color: #fff !important;
}

.color-swatch-btn.is-on {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.backdrop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.backdrop-grid button {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.backdrop-photo {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: contain;
  background: var(--mist);
}

.backdrop-grid h4 {
  margin: 0;
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.92rem;
}

@media (min-width: 1024px) {
  .backdrop-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .backdrop-photo {
    height: 22rem;
  }
}

#portfolioShowcase {
  scroll-margin-top: 5.5rem;
}

.portfolio-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.portfolio-pager[hidden] {
  display: none;
}

.portfolio-count {
  width: 100%;
  margin: 0 0 0.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.portfolio-page-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.portfolio-page-btn.is-current {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff !important;
}

.portfolio-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

#portfolioGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portfolio-item button {
  flex: 1;
}

@media (min-width: 640px) {
  #portfolioGrid { gap: 1.25rem; }
}

@media (min-width: 1024px) {
  #portfolioGrid { grid-template-columns: 1fr 1fr 1fr; }
}

.portfolio-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  background: var(--mist);
}

.portfolio-item button {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: left;
  color: var(--ink);
}

.portfolio-caption {
  margin-top: auto;
  padding: 10px 12px 12px;
}

.portfolio-caption span {
  display: block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-caption h4 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .portfolio-caption h4 { font-size: 16px; }
}

h1, h2, h3 {
  overflow-wrap: break-word;
}

.bts-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--mist);
}

.service-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--mist);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 15%;
}

@media (min-width: 1024px) {
  .hero-photo { height: 520px; }
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.action-row > * {
  flex: 1 1 12rem;
}

@media (min-width: 640px) {
  .action-row > * { flex: 0 1 auto; }
}

.on-photo,
.on-photo h4,
.on-photo p {
  color: #fff !important;
}

.on-photo .text-brand-teal {
  color: #8eebf4 !important;
}


#lightboxModal .lightbox-bar {
  gap: 0.75rem;
}

.lightbox-nav {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-frame {
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
  max-width: 56rem;
}

.lightbox-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.lightbox-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

#lightboxImg {
  max-height: min(75vh, calc(100vh - 12rem));
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  #lightboxModal .lightbox-bar {
    flex-direction: column;
    align-items: stretch;
  }

  #lightboxModal .lightbox-bar button {
    width: 100%;
  }
}

.google-reviews {
  padding: 1.5rem 0 4.5rem;
  background: #fff;
}

.google-reviews-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.google-reviews-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.google-reviews-brand h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #202124 !important;
}

.google-reviews-score {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: #5f6368 !important;
  font-size: 0.95rem;
}

.google-reviews-score strong {
  color: #202124 !important;
  font-size: 1.05rem;
}

.google-stars {
  color: #fbbc04 !important;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
}

.google-reviews-arrows {
  display: flex;
  gap: 0.55rem;
}

.google-reviews-arrows button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043 !important;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.google-reviews-arrows button:disabled {
  opacity: 0.35;
  cursor: default;
}

.google-reviews-viewport {
  overflow: hidden;
}

.google-reviews-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
}

.google-reviews-card {
  flex: 0 0 100%;
  min-width: 0;
  background: #f8f9fb;
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.google-reviews-person {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.google-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-weight: 700;
  flex: 0 0 auto;
}

.google-reviews-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #202124 !important;
  font-size: 0.95rem;
}

.google-reviews-name svg {
  flex: 0 0 auto;
}

.google-reviews-card time {
  display: block;
  margin-top: 0.15rem;
  color: #80868b !important;
  font-size: 0.78rem;
}

.google-reviews-card p {
  margin: 0.85rem 0 0;
  color: #3c4043 !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

.google-reviews-card a {
  color: #1a73e8 !important;
  font-weight: 600;
  text-decoration: none;
}

.google-reviews-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 1.4rem auto 0;
  padding: 0.7rem 1.15rem;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
  color: #3c4043 !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.google-reviews-all:hover {
  background: #f8f9fb;
}

@media (min-width: 700px) {
  .google-reviews-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 1024px) {
  .google-reviews-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.model-roster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.model-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(27, 18, 54, 0.06);
}

.model-card img,
.profile-photo img,
.casting-card img,
.casting-hero {
  display: block;
  width: 100%;
  object-fit: contain;
  background: var(--mist);
}

.model-card img {
  height: 22rem;
}

.model-card-body {
  display: block;
  padding: 0.9rem 1rem 1.1rem;
}

.model-card h4 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.fact-list,
.stat-grid {
  margin: 0;
}

.fact-list {
  list-style: none;
  padding: 0;
}

.fact-list li,
.stat-grid dt,
.stat-grid dd {
  font-size: 0.84rem;
  line-height: 1.55;
}

.fact-list span,
.stat-grid dt {
  color: var(--muted);
  font-weight: 600;
}

.fact-list li {
  color: var(--ink);
}

.stat-grid {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.35rem 0.75rem;
}

.stat-grid dd {
  margin: 0;
  font-weight: 700;
}

#model-profile,
#casting-detail {
  scroll-margin-top: 5.5rem;
}

.profile-back {
  display: inline-flex;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal) !important;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.model-profile-layout,
.casting-layout {
  display: grid;
  gap: 1.5rem;
}

.profile-photo {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.profile-photo img,
.casting-hero {
  height: 28rem;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 1rem;
}

.profile-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0.85rem;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.profile-tab.is-on {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff !important;
}

.profile-pane {
  padding: 0.25rem 0 0.5rem;
}

.credit-block {
  margin-bottom: 1rem;
}

.credit-year {
  font-family: Syne, Montserrat, sans-serif;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.credit-block p {
  margin: 0.15rem 0;
  font-size: 0.9rem;
}

.casting-list {
  display: grid;
  gap: 1rem;
}

.casting-card {
  display: grid;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 18, 54, 0.06);
}

.casting-card img {
  height: 16rem;
  border-radius: 0.9rem;
}

.casting-hero {
  margin: 1rem 0 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.casting-copy p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.casting-needs {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.casting-needs li + li {
  margin-top: 0.35rem;
}

.recent-castings {
  display: grid;
  gap: 0.7rem;
}

.recent-casting {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.recent-casting strong {
  font-size: 0.9rem;
}

.recent-casting span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (min-width: 700px) {
  .model-roster {
    grid-template-columns: 1fr 1fr;
  }

  .casting-card {
    grid-template-columns: 14rem minmax(0, 1fr);
    align-items: center;
  }

  .casting-card img {
    height: 100%;
    min-height: 14rem;
  }
}

@media (min-width: 1024px) {
  .model-roster {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .model-profile-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .casting-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.7fr);
    align-items: start;
  }
}
