/* Section: Intro */

.section-intro {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

.intro-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-body-large);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: var(--leading-relaxed);
}

.intro-text span {
  color: var(--text-muted);
  transition: color var(--duration-normal) var(--ease-out-expo);
}

.intro-text span.is-visible {
  color: var(--text-primary);
}

/* Section: Services */

.section-services {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-services .section-title,
.section-services h2 {
  color: var(--text-dark);
}

.section-services .badge {
  background: rgba(0,0,0,0.08);
  color: var(--text-dark);
  border: none;
}

/* Accordion list */
.services-list {
  margin-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.12);
}

.services-list__item {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  overflow: hidden;
}

.services-list__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  cursor: default;
  transition: padding var(--duration-fast) var(--ease-out-quart);
}

@media (min-width: 768px) {
  .services-list__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .services-list__item:hover .services-list__thumb {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-list__num {
  font-family: var(--font-body);
  font-size: var(--text-tiny);
  color: rgba(0,0,0,0.35);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  min-width: 2rem;
  padding-top: 0.35rem;
}

.services-list__body {
  flex: 1;
}

.services-list__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: var(--leading-snug);
  margin-bottom: 0.5rem;
}

.services-list__desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-dark-secondary);
  max-width: 560px;
  line-height: var(--leading-normal);
  margin-bottom: var(--space-sm);
}

.services-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.services-list__tags .badge {
  font-size: var(--text-tiny);
  background: rgba(0,0,0,0.06);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
}

.services-list__thumb {
  width: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--border-radius);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
  align-self: center;
  margin: var(--space-md) 0 var(--space-md) var(--space-md);
  flex-shrink: 0;
}

.services-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legacy bento support (unused but kept for safety) */
.services-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: var(--space-md);
}

.services-bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

/* Section: Featured */

.section-featured {
  background: var(--bg-primary);
  padding-top: var(--space-2xl);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.featured-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--border-radius);
  display: block;
  text-decoration: none;
  cursor: none;
}

.featured-card__thumb {
  position: absolute;
  inset: 0;
}

.featured-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.featured-card:hover .featured-card__thumb img {
  transform: scale(1.05);
}

.featured-card__meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  z-index: 1;
}

.featured-card__title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-highlight);
}

.featured-card__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-secondary);
}

/* Section: CTA */

.section-cta-dark {
  text-align: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  background: var(--bg-primary);
}

.cta-email a {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--accent);
  text-decoration: none;
  transition: text-decoration var(--duration-fast);
}

.cta-email a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-primary);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-links--social {
  gap: 0.25rem 1.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: var(--text-tiny);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
}

.footer-mark {
  overflow: hidden;
  text-align: left;
}

.footer-mark span {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  color: rgba(255,255,255,0.04);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  line-height: 1;
  display: block;
  user-select: none;
}

/* ===== CTA SECTION — always dark regardless of page theme ===== */
.section-cta-dark {
  background: #0a0a0a !important;
  color: #f0f0f0;
}

.section-cta-dark .section-title,
.section-cta-dark h2 {
  color: #ffffff !important;
}

.section-cta-dark p,
.section-cta-dark a:not(.btn) {
  color: #f0f0f0;
}

/* Light page footer — always dark */
.page--light .footer {
  background: var(--bg-primary);
}

.page--light .footer .footer-links a {
  color: var(--text-secondary);
}

.page--light .footer .footer-bottom p {
  color: var(--text-muted);
}

.page--light .footer .footer-mark span {
  color: rgba(255,255,255,0.04);
}

/* ===== SELECTED WORKS — Cormorant Garamond (two words only) ===== */
.section-title--cormorant {
  font-family: var(--font-display) !important;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #ffffff !important;
}

/* ===== SERVICES HORIZONTAL 3-COL ===== */
.services-horiz {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
@media (max-width: 767px) {
  .services-horiz { grid-template-columns: 1fr; gap: var(--space-md); }
}
.services-horiz__item { display: flex; flex-direction: column; gap: var(--space-sm); }
.services-horiz__thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--border-radius); margin-bottom: 0.5rem; }
.services-horiz__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal) var(--ease-out-expo); }
.services-horiz__item:hover .services-horiz__thumb img { transform: scale(1.04); }
.services-horiz__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.1rem,1.5vw,1.4rem); color: var(--text-dark); font-weight: 700; font-style: normal; letter-spacing: 0.01em; }
.services-horiz__desc { font-family: 'Playfair Display', Georgia, serif; font-size: var(--text-small); color: var(--text-dark-secondary); line-height: var(--leading-normal); flex: 1; }
.services-horiz__tags { display: none; }
.services-horiz__tags .badge { font-size: var(--text-tiny); background: rgba(0,0,0,0.06); color: var(--text-dark); border: 1px solid rgba(0,0,0,0.1); border-radius: 100px; padding: 0.2rem 0.65rem; }

/* ===== BTS CAROUSEL — dark variant arrows (for dark CTA section) ===== */
.bts-arrow--dark { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: white; }
.bts-arrow--dark:hover { background: white; color: var(--text-dark); }

/* ===== BTS CAROUSEL (shared — used on index CTA and about page) ===== */
.bts-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-lg);
  width: 100%;
}

.bts-carousel {
  flex: 1;
  overflow: hidden;
  min-height: 280px;
}

.bts-carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s var(--ease-out-expo);
  height: 100%;
}

.bts-carousel__item {
  flex: 0 0 calc(33.33% - 0.67rem);
  height: 280px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

@media (max-width: 767px) {
  .bts-carousel__item {
    flex: 0 0 calc(80% - 0.5rem);
    height: 220px;
  }
}

.bts-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}

.bts-carousel__item:hover img {
  transform: scale(1.03);
}

.bts-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: white;
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
  z-index: 2;
}

.bts-arrow:hover {
  background: var(--text-dark);
  color: white;
}

/* Service cards as links */
a.services-horiz__item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  cursor: pointer;
  transition: opacity var(--duration-fast);
}
a.services-horiz__item:hover { opacity: 0.85; }
a.services-horiz__item .services-horiz__title { color: var(--text-dark); }

/* ── Thumbnail consistency ── */
.featured-card__thumb img,
.services-horiz__thumb img,
.video-card__thumb img,
.work-list__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.featured-card__thumb,
.services-horiz__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
