:root {
  --color-night: #1a0b2e;
  --color-brand: #4a306d;
  --color-brand-soft: #5e4185;
  --color-copper: #d4a373;
  --color-sand: #fefae0;
  --color-cream: #f8f9fa;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-panel: rgba(74, 48, 109, 0.2);
  --color-panel-strong: rgba(26, 11, 46, 0.98);
  --color-shadow: rgba(0, 0, 0, 0.5);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --radius-pill: 999px;
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition: 400ms cubic-bezier(0.23, 1, 0.32, 1);
  --container-width: 480px;
  background-color: #0d0617;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #0d0617;
}

body {
  min-height: 100%;
  min-height: 100vh;
  background-color: #0d0617;
  background:
    radial-gradient(circle at 50% -10%, rgba(94, 65, 133, 0.4), transparent 60%),
    linear-gradient(180deg, #1a0b2e 0%, #0d0617 100%);
  color: var(--color-cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 163, 115, 0.08) 0%, transparent 60%);
  background-size: 300% 300%;
  animation: floatOrb 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0% { background-position: 10% 20%; transform: scale(1); }
  50% { background-position: 90% 80%; transform: scale(1.1); }
  100% { background-position: 40% 10%; transform: scale(0.9); }
}

body.no-scroll {
  overflow: hidden;
}

a,
button {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-noise,
.page-grid {
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.page-noise {
  opacity: 0.08;
  z-index: 1;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 240 240" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.78" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="240" height="240" filter="url(%23n)" opacity="0.45"/%3E%3C/svg%3E');
}

.page-grid {
  z-index: 0;
  opacity: 0.16;
  background:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.05) calc(100% - 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255, 255, 255, 0.05) calc(100% - 1px));
  background-size: 100% 88px, 88px 100%;
}

/* Flying Particles */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  transform: translateZ(0);
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(212, 163, 115, 0.6);
  border-radius: 50%;
  bottom: -20px;
  animation: floatUp 15s linear infinite;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.particle:nth-child(1) { left: 10%; animation-duration: 22s; animation-delay: 2s; width: 4px; height: 4px; }
.particle:nth-child(2) { left: 25%; animation-duration: 18s; animation-delay: 0s; width: 8px; height: 8px; }
.particle:nth-child(3) { left: 35%; animation-duration: 25s; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; animation-duration: 14s; animation-delay: 1s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 65%; animation-duration: 20s; animation-delay: 3s; }
.particle:nth-child(6) { left: 80%; animation-duration: 16s; animation-delay: 5s; width: 7px; height: 7px; }
.particle:nth-child(7) { left: 90%; animation-duration: 24s; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 15%; animation-duration: 19s; animation-delay: 6s; width: 3px; height: 3px; }
.particle:nth-child(9) { left: 45%; animation-duration: 21s; animation-delay: 2.5s; background: rgba(255,255,255,0.4); box-shadow: none;}
.particle:nth-child(10) { left: 75%; animation-duration: 17s; animation-delay: 1.5s; }
.particle:nth-child(11) { left: 5%; animation-duration: 23s; animation-delay: 7s; width: 9px; height: 9px; }
.particle:nth-child(12) { left: 95%; animation-duration: 15s; animation-delay: 3.5s; background: rgba(255,255,255,0.2); box-shadow: none;}

@keyframes floatUp {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

.preloader {
  align-items: center;
  background:
    linear-gradient(180deg, #0b162a, #07101f),
    linear-gradient(135deg, rgba(187, 116, 64, 0.18), transparent 55%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity 720ms ease, visibility 720ms ease, transform 720ms ease;
  z-index: 30;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition-delay: 800ms; /* Wait for logo transition before fading bg */
}

.preloader-logo-container {
  position: relative;
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 31;
  /* Use a dynamic transform calculated by JS */
  transform: var(--logo-fly-transform, none);
}

.preloader-logo {
  width: 280px; /* Start large */
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
  transition: width 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.is-hidden .preloader-logo {
  width: 180px; /* Match header avatar size */
}

/* Hide header logo while preloader is active */
.profile-avatar img {
  opacity: 0;
  transition: opacity 300ms ease;
  transition-delay: 1100ms;
}

.preloader.is-hidden ~ .page-shell .profile-avatar img {
  opacity: 1;
}

/* Removed preloader-thread and labels to focus strictly on the logo transition */

.page-shell {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 26px 18px 72px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1500ms;
}

.hero-card,
.manifest-card,
.content-section,
.footer-note,
.modal-panel {
  border: 1px solid var(--color-line);
  box-shadow: 0 30px 60px -30px var(--color-shadow);
  position: relative;
}

.hero-card::before,
.manifest-card::before,
.content-section::before,
.modal-panel::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 3px, transparent 3px, transparent 9px);
  pointer-events: none;
}

.profile-header {
  text-align: center;
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.social-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 6px;
}

.header-social-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 320px;
  margin: 24px auto 0;
  padding: 0 16px;
}

.header-social-list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc((100% - 10px) / 2);
}

.social-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.social-list-item.instagram { 
  color: #E4405F; 
  border-color: rgba(228, 64, 95, 0.2); 
}
.social-list-item.tiktok { 
  color: #FFFFFF; 
  border-color: rgba(255, 255, 255, 0.15); 
}
.social-list-item.youtube { 
  color: #FF0000; 
  border-color: rgba(255, 0, 0, 0.2); 
}
.social-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.social-list-item svg {
  flex-shrink: 0;
  stroke-width: 1.5px;
}

.social-name {
  flex-grow: 1;
  color: #ffffff;
}

.profile-avatar {
  width: 180px;
  height: auto;
  min-height: 100px;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 0;
}

.profile-avatar img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 36rem;
}

.brand-kicker {
  color: rgba(247, 241, 232, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.34rem;
  text-transform: uppercase;
}

.brand-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  max-width: 12ch;
  text-wrap: balance;
}

.brand-summary {
  color: rgba(247, 241, 232, 0.82);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 42ch;
}

.brand-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.brand-facts li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 241, 232, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.profile-info h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.profile-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.link-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.link-btn {
  width: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  color: var(--color-cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px -12px rgba(0, 0, 0, 0.6);
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 223, 205, 0.08),
    rgba(255, 255, 255, 0.18),
    rgba(234, 223, 205, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 850ms cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.link-btn:hover {
  border-color: rgba(234, 223, 205, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 40px -20px rgba(0, 0, 0, 0.8);
}

.link-btn:hover::before {
  left: 150%;
}

.link-btn:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 100ms;
}

.link-btn-primary {
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.15), rgba(74, 48, 109, 0.1));
  border-color: rgba(212, 163, 115, 0.28);
}

.link-btn-primary:hover {
  background: linear-gradient(145deg, rgba(212, 163, 115, 0.25), rgba(94, 65, 133, 0.15));
  border-color: rgba(212, 163, 115, 0.5);
  color: var(--color-sand);
}

.link-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(212, 163, 115, 0);
  transition: box-shadow 400ms ease;
}

.link-btn-primary:hover::after {
  box-shadow: 0 0 30px rgba(212, 163, 115, 0.15);
}

.link-label {
  position: relative;
  z-index: 2;
}

.action-card {
  align-items: center;
  background:
    linear-gradient(155deg, rgba(21, 43, 75, 0.96), rgba(10, 19, 36, 0.98)),
    linear-gradient(90deg, rgba(187, 116, 64, 0.1), transparent 44%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
  overflow: hidden;
  padding: 18px 18px 18px 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.action-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-copper), transparent);
}

.action-card:hover,
.action-card:focus-visible,
.action-card.is-pressed {
  border-color: rgba(234, 223, 205, 0.28);
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.86);
  transform: translateY(-3px);
}

.action-card:focus-visible,
.ghost-link:focus-visible,
.inline-link:focus-visible,
.modal-close:focus-visible,
.fit-switch:focus-visible,
.modal-cta:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

.action-card-primary {
  background:
    linear-gradient(145deg, rgba(189, 116, 64, 0.28), rgba(26, 49, 84, 0.96) 42%, rgba(11, 22, 41, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 48%);
}

.action-card-button {
  width: 100%;
}

.action-index {
  color: var(--color-copper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06rem;
}

.action-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.action-copy small {
  color: rgba(247, 241, 232, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Section: Modelos (Carousel) */
.models-section {
  margin-top: 32px;
}

.models-section .section-title {
  color: var(--color-sand);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  padding: 0 20px;
  text-transform: uppercase;
  opacity: 0.8;
}

.models-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 20px 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.models-carousel::-webkit-scrollbar {
  display: none;
}

.model-card {
  appearance: none;
  flex: 0 0 280px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  transition: transform 400ms ease;
  padding: 0;
  text-align: left;
}

.model-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 223, 205, 0.28);
}

.model-card:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 4px;
  transform: translateY(-4px);
  border-color: rgba(234, 223, 205, 0.28);
}

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

.model-card:focus-visible img {
  transform: scale(1.05);
}

.model-info {
  background: linear-gradient(to top, rgba(11, 22, 42, 0.9), transparent);
  bottom: 0;
  left: 0;
  padding: 32px 16px 16px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.model-info h3 {
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.manifest-card {
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 40px 20px;
  margin-top: 0;
}

.manifest-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40ch;
  margin: 0 auto;
}

.manifest-stats {
  margin-top: 20px;
}

.manifest-stats div {
  min-width: 92px;
}

.manifest-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06rem;
}

.manifest-stats span {
  color: rgba(247, 241, 232, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.content-section {
  padding: 32px 18px;
  margin-top: 24px;
}

.section-heading h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 12px;
}

.collection-card,
.wholesale-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}

.collection-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.collection-card.is-focused {
  border-color: rgba(187, 116, 64, 0.5);
  transform: translateY(-2px);
}

.collection-id {
  color: var(--color-copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.collection-card h3 {
  font-size: 1.72rem;
  margin-bottom: 10px;
}

.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.collection-tags span,
.fit-switch {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 241, 232, 0.82);
  font-size: 0.78rem;
  padding: 8px 12px;
}

.ghost-link,
.inline-link,
.modal-cta {
  color: var(--color-sand);
  text-decoration: none;
}

.ghost-link {
  display: inline-flex;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(234, 223, 205, 0.3);
}

.wholesale-grid {
  margin-top: 8px;
}

.wholesale-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.wholesale-actions {
  margin-top: 18px;
}

.inline-link {
  border-bottom: 1px solid rgba(234, 223, 205, 0.28);
  display: inline-flex;
  font-weight: 600;
  padding-bottom: 2px;
}

.footer-note {
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 60px 20px 40px;
  opacity: 0.3;
}

.footer-note p {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 700;
}

.modal {
  align-items: flex-end;
  background: rgba(4, 9, 18, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px 16px;
  position: fixed;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 40;
}

.modal-panel {
  background: var(--color-panel-strong);
  border-radius: 28px;
  max-width: 520px;
  padding: 22px;
  position: relative;
  width: min(100%, 520px);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.modal.hidden .modal-panel {
  transform: translateY(20px);
}

.lightbox-panel {
  max-width: 95vw;
  width: min(95vw, 960px);
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.lightbox-panel .modal-close {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(212, 163, 115, 0.2);
  border-color: rgba(212, 163, 115, 0.7);
  transform: scale(1.05);
}

.lightbox-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.lightbox-image-container {
  width: 100%;
  max-height: 85vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.modal-close {
  border-bottom: 1px solid rgba(234, 223, 205, 0.28);
  color: rgba(247, 241, 232, 0.76);
  display: inline-flex;
  font-size: 0.84rem;
  margin-left: auto;
  margin-bottom: 16px;
  padding-bottom: 2px;
}

.modal-panel h2 {
  font-size: 2.3rem;
  margin-top: 6px;
}

.modal-subtitle {
  margin-top: 8px;
}

.fit-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fit-switch {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fit-switch.is-active {
  background: rgba(187, 116, 64, 0.18);
  border-color: rgba(187, 116, 64, 0.52);
  color: var(--color-sand);
}

.fit-guide-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 18px;
}

.fit-guide-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  line-height: 1.5;
  padding: 14px 15px;
}

.modal-cta {
  display: inline-flex;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(234, 223, 205, 0.3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-spotlight {
  animation: spotlight 1.3s ease;
}

@keyframes sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes spotlight {
  0% {
    box-shadow: 0 0 0 0 rgba(187, 116, 64, 0.25);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(187, 116, 64, 0.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(187, 116, 64, 0);
  }
}

@media (min-width: 640px) {
  .page-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .link-stack {
    padding: 0;
  }

  .profile-header,
  .manifest-card,
  .content-section,
  .footer-note {
    padding: 32px 0;
  }
}

@media (max-width: 520px) {
  .modal {
    padding: 12px 8px;
  }

  .lightbox-panel {
    width: 100%;
  }

  .lightbox-stage {
    gap: 0;
    position: relative;
    grid-template-columns: minmax(0, 1fr);
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-50%) scale(1.05);
  }

  .lightbox-nav-prev {
    left: 8px;
  }

  .lightbox-nav-next {
    right: 8px;
  }

  .lightbox-image-container {
    width: 100%;
    max-height: calc(100svh - 108px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
