/* ── Sole Customz Studio — Global Design System ── */
:root {
  --gold: #f1b819;
  --gold-dark: #bb8c1f;
  --gold-glow: rgba(255, 210, 87, 0.15);

  --black: #0a0a0a;
  --black-soft: #0d0d0d;
  --black-card: #121212;
  --black-elevated: #1c1c1c;
  --black-input: #2b2b2b;

  --white: #ffffff;
  --white-soft: #f5f5f5;

  --text-primary: #f5f5f5;
  --text-secondary: #b3b3b3;
  --text-muted: #737373;
  --text-subtle: #a6a6a6;
  --text-dim: #666666;

  --border: #404040;
  --border-subtle: #383838;
  --border-divider: #2e2e2e;

  --font: 'Inter', sans-serif;
  --max-width: 1440px;
  --content-gutter: clamp(24px, 5vw, 80px);
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  scrollbar-gutter: stable;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 100%;
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ── Site Navbar ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 var(--content-gutter);
  background: var(--black-card);
  border-bottom: 1px solid var(--border-divider);
  box-shadow: 0 1px 0 rgba(255, 210, 87, 0.06);
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.site-nav__logo span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.site-nav__logo:hover span {
  color: var(--gold);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding: 0 20px;
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-nav__links:has(.is-active) {
  border-color: rgba(255, 210, 87, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 210, 87, 0.08);
}

.site-nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav__links a:hover {
  color: var(--white);
}

.site-nav__links a.is-active {
  font-weight: 700;
  color: var(--gold);
}

.site-nav__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.site-nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.site-nav__icon-btn:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.site-nav__icon-btn img {
  filter: brightness(0) invert(1);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 1px solid transparent;
}

.btn--dark {
  background: var(--black-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--dark:hover {
  border-color: var(--gold);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--lookbook {
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  height: 56px;
  min-width: 200px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  letter-spacing: 0.04em;
}

.btn--lookbook:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── Portrait pop-out ── */
.portrait-popout {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
  flex-shrink: 0;
}

.portrait-popout--lg {
  width: min(692px, 42vw);
  height: min(760px, 46vw);
}

.portrait-popout--sm {
  width: min(402px, 32vw);
  height: min(460px, 36vw);
}

.portrait-popout__circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  z-index: 1;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.portrait-popout__photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
}

.portrait-popout--lg .portrait-popout__photo {
  width: 154%;
}

.portrait-popout--sm .portrait-popout__photo {
  width: 214%;
}

/* ── Site Footer ── */
.site-footer {
  background: #0f0f0f;
  border-top: 1px solid var(--border-subtle);
  padding: 56px var(--content-gutter) 36px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--content-gutter);
  right: var(--content-gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.35;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.site-footer__col a,
.site-footer__col span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--gold);
}

.site-footer__copy {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 28px;
  border-top: 1px solid var(--border-divider);
}

/* ── Video testimonial cards ── */
.video-card {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--border-subtle);
  transition: transform 0.25s, box-shadow 0.25s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 210, 87, 0.2);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.video-card:hover .video-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.video-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 210, 87, 0.35);
  transition: transform 0.2s;
}

.video-card:hover .video-card__play {
  transform: scale(1.08);
}

.video-card__play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  fill: var(--black);
}

.video-card--placeholder {
  background: #2a2a2a;
}

.video-card--placeholder .video-card__overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* ── Video modal ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 24px;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black-card);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: border-color 0.2s;
}

.video-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.video-modal__frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FAQ accordion ── */
.faq__item {
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--white);
  gap: 16px;
  transition: color 0.2s;
}

.faq__item summary:hover {
  color: var(--gold);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url('../images/vector-101.svg') center/contain no-repeat;
  transition: transform 0.25s;
  filter: brightness(0) invert(1);
}

.faq__item[open] summary {
  color: var(--gold);
}

.faq__item[open] summary::after {
  transform: rotate(180deg);
  filter: none;
}

.faq__answer {
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

/* ── Responsive nav/footer ── */
@media (max-width: 768px) {
  .portrait-popout--lg,
  .portrait-popout--sm {
    width: min(360px, 88vw);
    height: min(420px, 95vw);
  }

  .portrait-popout--sm .portrait-popout__photo {
    width: 180%;
  }

  .site-nav {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 10px;
  }

  .site-nav__links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: auto;
    gap: 16px;
    padding: 10px 16px;
  }

  .site-nav__links::-webkit-scrollbar {
    display: none;
  }

  html {
    scroll-padding-top: calc(var(--nav-height) + 48px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer__inner .site-footer__col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .site-nav__links {
    gap: 12px;
    padding: 8px 12px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
