/* ==========================================================================
   Neo Production House — components.css
   Every reusable UI piece: nav brand/lang-toggle, buttons, badges, cards,
   pricing steps, request form, FAQ accordion, toast.
   ========================================================================== */

/* ---------- Type helpers ---------- */

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.pricing-process {
  list-style: none;
}

.pricing-process li {
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-process .step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pricing-process li span:last-child {
  display: block;
  color: var(--cream-70);
  font-size: 0.92rem;
  line-height: 1.4;
}

.work-group-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.35rem;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--cream-70);
  max-width: 56ch;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

/* ---------- Wordmark ---------- */

.nav-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.brand-name-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-brand .brand-name-main {
  font-size: 1.3rem;
}

/* ---------- Nav links ---------- */

.nav-links a {
  display: inline-block;
  padding-block: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-70);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  touch-action: manipulation;
}

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------- Language toggle ---------- */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  touch-action: manipulation;
}

.lang-toggle span {
  padding: 10px 9px;
  border-radius: var(--radius-sm);
  color: var(--cream-45);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.lang-toggle span.active {
  background: var(--gold);
  color: var(--bg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.btn:disabled,
.btn[aria-busy='true'] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(155deg, var(--gold-light), var(--gold));
  color: var(--bg);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Form fields ---------- */

.field {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: var(--surface);
  padding-inline: 1.1rem;
  transition: border-color var(--dur-fast) var(--ease);
}

.field:focus-within {
  border-color: var(--gold);
}

.field.invalid {
  border-color: var(--danger-border);
}

.field input {
  width: 100%;
  min-height: 44px;
  padding-block: 0.85rem;
  font-size: 0.92rem;
  color: var(--cream);
  touch-action: manipulation;
}

.field select {
  width: 100%;
  min-height: 44px;
  padding-block: 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--cream);
  background: transparent;
  border: none;
  touch-action: manipulation;
}

.field select:focus {
  outline: none;
}

.field select option {
  color: var(--bg);
}

.field.textarea {
  align-items: flex-start;
  padding-block: 0.85rem;
}

.field.textarea textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cream);
  background: transparent;
  border: none;
  touch-action: manipulation;
}

.field.textarea textarea:focus {
  outline: none;
}

.field-error {
  min-height: 1.2em;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--danger);
}

.field-error:empty {
  margin-top: 0;
}

.form-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-45);
}

/* ---------- Badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-70);
  margin-bottom: 1.5rem;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ---------- Scroll hint ---------- */

.scroll-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.scroll-hint .line {
  display: inline-block;
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--gold), transparent);
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* ---------- Stats ---------- */

.stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-45);
}

/* ---------- Service cards ---------- */

.service-card {
  padding: 2rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--cream-70);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* ---------- Split visual filler content ---------- */

.split-visual-frame {
  position: absolute;
  inset: 14%;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual-frame svg {
  width: 40%;
  height: 40%;
  color: var(--gold-dim);
}

.split ul {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.split ul li {
  display: flex;
  gap: 0.75rem;
  color: var(--cream-70);
  font-size: 0.92rem;
}

.split ul li span {
  color: var(--gold);
  font-family: var(--font-mono);
}

/* ---------- Videography: community subsection ---------- */

.community-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.75rem;
}

.community-visual {
  flex: 1.1;
}

.community-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--panel-1), var(--panel-2) 70%);
  overflow: hidden;
  color: var(--gold-dim);
}

.community-copy {
  flex: 0.9;
}

.community-copy .kicker {
  margin-bottom: 0.6rem;
}

.community-copy p:not(.kicker) {
  color: var(--cream-70);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Selected work: portfolio mockups ---------- */

.work-group-head h3 {
  margin-bottom: 0.4rem;
}

.work-group-head p {
  color: var(--cream-70);
  font-size: 0.92rem;
}

.mock-label {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-45);
}

.mock-live {
  color: var(--gold-light);
  font-weight: 700;
}

/* Reels (video) */

.reel-frame {
  position: relative;
  width: 230px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: linear-gradient(155deg, var(--panel-1), var(--panel-2) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}

.reel-frame:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg);
}

.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.reel-play svg {
  width: 18px;
  height: 18px;
}

.reel-play:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.08);
}

.reel-play.is-playing {
  opacity: 0;
  pointer-events: none;
}

.reel-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--footer-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-70);
  max-width: calc(100% - 20px);
}

/* Browser / website mockups */

.browser-mock {
  display: block;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}

.browser-mock:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
}

.browser-mock.is-live:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}

.browser-mock.main {
  width: 100%;
}

/* ---------- 3D tilt stage + device frame (South Star Supplies mockup) ---------- */

.tilt-stage {
  perspective: 1400px;
  animation: floatY 5s ease-in-out infinite;
  flex: 1.4;
  max-width: 680px;
  margin-inline: auto;
}

.device-frame {
  position: relative;
  padding: 14px 14px 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--panel-1), var(--panel-2) 70%);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow var(--dur-med) var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-dim);
}

.device-frame:hover {
  transform: none;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--surface-border);
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-dim);
}

.browser-screen {
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--gold-tint), var(--panel-2) 75%);
  background-size: cover;
  background-position: top center;
}

.browser-screen-southstar {
  background-image: url('../assets/southstar-preview.jpg');
}

/* Graphic design proof + gallery */

.design-proof {
  max-width: 640px;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--gold-tint), var(--surface) 70%);
  margin-bottom: 1.75rem;
}

.design-proof-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.design-proof-quote {
  color: var(--cream-70);
  font-size: 0.95rem;
  line-height: 1.55;
}

.design-carousel {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 938;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  background: var(--surface);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nav-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: var(--bg);
}

.carousel-arrow-prev {
  left: -14px;
}

.carousel-arrow-next {
  right: -14px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: transparent;
  padding: 0;
  touch-action: manipulation;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

/* ---------- About Fel: photo carousel (fills the .split-visual frame) ---------- */

.split-visual .about-carousel {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
}

.about-carousel .carousel-track {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
}

.about-carousel .carousel-arrow-prev {
  left: 12px;
}

.about-carousel .carousel-arrow-next {
  right: 12px;
}

.about-carousel .carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 2;
  background: var(--nav-bg);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

/* ---------- FAQ accordion ---------- */

.faq-item {
  border-bottom: 1px solid var(--surface-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  touch-action: manipulation;
}

.faq-question .icon {
  font-family: var(--font-mono);
  color: var(--gold);
  transition: transform var(--dur-med) var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
}

.faq-answer p {
  color: var(--cream-70);
  font-size: 0.92rem;
  padding-bottom: 1.5rem;
  max-width: 62ch;
}

/* ---------- Hero background video ---------- */

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--hero-scrim) 0%, var(--hero-scrim-soft) 45%, var(--hero-scrim) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 55%);
}

/* ---------- One-off layout helpers (kept here to avoid inline styles) ---------- */

.section-head.center .lead {
  margin-inline: auto;
}

.footer-brand {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-blurb {
  max-width: 32ch;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-strong);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cream);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  z-index: 300;
  max-width: min(90vw, 380px);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
