:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #0f172a;
  background: #f8fafc;
}

body.dark-mode {
  color-scheme: dark;
  color: #e2e8f0;
  background: #0f172a;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  opacity: 0;
  transform: translateY(8px);
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.14), transparent 35%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 30%),
              #f8fafc;
  transition: background-color 300ms ease, color 300ms ease, opacity 180ms ease, transform 180ms ease;
  animation: pageFadeIn 220ms ease forwards;
}

main {
  flex: 1;
}

body.dark-mode {
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 35%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.06), transparent 30%),
              #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 300ms ease, border-color 300ms ease;
}

body.dark-mode .site-header {
  background: rgba(15, 23, 42, 0.92);
  border-bottom-color: rgba(100, 116, 139, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 700;
  color: #475569;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #7c3aed;
}

.dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease;
  border-radius: 0.5rem;
  width: 2.3rem;
  height: 2.3rem;
  position: relative;
}

.dark-mode-toggle:hover {
  transform: scale(1.15);
  background: rgba(124, 58, 237, 0.1);
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(124, 58, 237, 0.2);
}

.sun-icon {
  display: block;
  transition: opacity 200ms ease;
  color: #475569;
}

.sun-light {
  opacity: 1;
}

.sun-dark {
  opacity: 0;
  display: none;
}

body.dark-mode .sun-light {
  opacity: 0;
  display: none;
}

body.dark-mode .sun-dark {
  opacity: 1;
  display: block;
  color: #cbd5e1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.5rem;
  width: 2.3rem;
  height: 2.3rem;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(124, 58, 237, 0.1);
}

body.dark-mode .nav-toggle:hover {
  background: rgba(124, 58, 237, 0.2);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #475569;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}

body.dark-mode .nav-toggle span {
  background: #cbd5e1;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: start;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 27, 0.72) 0%, rgba(10, 14, 27, 0.45) 40%, rgba(248, 250, 252, 0.88) 88%, #f8fafc 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 0;
}

.hero-media-video .hero-video-bg {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.56) 0%, rgba(15, 23, 42, 0.86) 100%), url('images/merchant-auto-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-video-link,
.hero-media-video .hero-video-bg {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}


.hero-panel-video {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-thumb-wrap {
  aspect-ratio: 4 / 5;
}

.hero-panel-details {
  padding: 1.35rem 1.2rem 1.5rem;
}

.hero-panel-details .eyebrow {
  margin-bottom: 0.65rem;
}

.about-profile-photo {
  width: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  min-height: 380px;
  margin-bottom: 1rem;
}

.about-image {
  width: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  min-height: 320px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 640px;
  color: #f8fafc;
}

.hero-video .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.hero-video .hero-copy h1 {
  color: #ffffff;
}

.hero-video .hero-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
}

.hero-panel .profile-photo {
  border-radius: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 1.2rem;
}

.hero p {
  max-width: 620px;
  color: #475569;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(124, 58, 237, 0.12);
  color: #4c1d95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #7c3aed;
  color: #fff;
}

.btn-primary:hover {
  background: #5b21b6;
}

.btn-outline {
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #312e81;
  background: rgba(255, 255, 255, 0.92);
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.12);
}

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), #f8fafc 80%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.profile-photo {
  width: 100%;
  border-radius: 0.9rem;
  display: block;
  object-fit: cover;
}

.hero-stat {
  display: grid;
  gap: 0.25rem;
  text-align: center;
  padding: 1rem;
  border-radius: 0.65rem;
  background: #eef2ff;
}

.hero-stat strong {
  font-size: 1.4rem;
  color: #312e81;
}

.hero-stat span {
  color: #475569;
}

.section {
  padding: 4rem 0;
}

.section-label {
  display: inline-flex;
  color: #7c3aed;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 0 0 1.2rem;
}

.section p {
  color: #475569;
}

.section-grid {
  display: grid;
  gap: 2rem;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.info-card,
.work-card,
.contact-panel,
.hobby-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.info-card h3,
.work-body h3 {
  margin: 0 0 0.75rem;
}

.info-card p,
.work-body p {
  margin: 0;
  color: #475569;
}

.work-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.work-card {
  overflow: hidden;
}

.work-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.work-body {
  padding: 1.5rem;
}

.hobby-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.hobby-photo {
  width: 100%;
  border-radius: 0.75rem;
  min-height: 320px;
  object-fit: cover;
}

.hobby-copy h2 {
  margin: 0 0 1rem;
}

.hobby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hobby-tags span {
  background: rgba(124, 58, 237, 0.12);
  color: #4c1d95;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.contact-info-item {
  margin-bottom: 1rem;
}

.contact-info-item strong {
  display: block;
  color: #312e81;
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  color: #7c3aed;
  text-decoration: none;
  transition: color 160ms ease;
}

.contact-info-item a:hover {
  color: #5b21b6;
  text-decoration: underline;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #312e81;
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.1);
}

.site-footer {
  padding: 0.7rem 0 0.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.82rem;
}

.footer-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-divider {
  opacity: 0.5;
}

.footer-byline a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 160ms ease, color 160ms ease;
}

.footer-byline a:hover {
  opacity: 1;
  color: #7c3aed;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  color: #475569;
  font-size: 0.95rem;
  border-radius: 0.45rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.social-links a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}


/* Gallery styles */
.gallery-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

.tab-button.active {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
}

.tab-button:hover {
  color: #7c3aed;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: transform 160ms ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.video-grid + .btn {
  margin-top: 2rem;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.video-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.video-card .video-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.video-thumb {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.48) 100%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-details {
  padding: 1.5rem;
}

.video-details h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.video-details p {
  margin: 0;
  color: #475569;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.faq-item {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.95rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.faq-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.3rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
}

.faq-label::after {
  content: '+';
  font-size: 1.15rem;
  color: #7c3aed;
  transition: transform 220ms ease;
}

.faq-input:checked + .faq-label::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.3rem;
  transition: max-height 260ms ease, opacity 220ms ease, padding 220ms ease;
}

.faq-input:checked + .faq-label + .faq-panel {
  max-height: 420px;
  opacity: 1;
  padding: 0 1.3rem 1.25rem;
}

.faq-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

body.dark-mode .faq-item {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(100, 116, 139, 0.3);
}

body.dark-mode .faq-label {
  color: #e2e8f0;
}

body.dark-mode .faq-panel p {
  color: #cbd5e1;
}

/* Dark mode styles */
body.dark-mode .brand {
  color: #e2e8f0;
}

body.dark-mode .nav-links a {
  color: #cbd5e1;
}

body.dark-mode .nav-links a:hover {
  color: #a78bfa;
}

body.dark-mode .hero::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

body.dark-mode .hero-panel {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(100, 116, 139, 0.3);
}

body.dark-mode .profile-photo {
  opacity: 0.95;
}

body.dark-mode .hero-stat {
  background: rgba(255, 255, 255, 0.07);
}

body.dark-mode .hero-stat strong {
  color: #f8fafc;
}

body.dark-mode .hero-stat span {
  color: #cbd5e1;
}

body.dark-mode .info-card,
body.dark-mode .work-card,
body.dark-mode .contact-panel,
body.dark-mode .hobby-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(100, 116, 139, 0.3);
}

body.dark-mode .info-card h3,
body.dark-mode .work-body h3,
body.dark-mode .section h2 {
  color: #e2e8f0;
}

body.dark-mode .info-card p,
body.dark-mode .work-body p,
body.dark-mode .section p,
body.dark-mode .section-label {
  color: #cbd5e1;
}

body.dark-mode .section-label {
  color: #a78bfa;
}

body.dark-mode .btn-primary {
  background: #7c3aed;
}

body.dark-mode .btn-primary:hover {
  background: #a78bfa;
}

body.dark-mode .btn-outline {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

body.dark-mode .btn-outline:hover {
  background: rgba(167, 139, 250, 0.18);
}

body.dark-mode .btn-secondary {
  border-color: rgba(167, 139, 250, 0.3);
  color: #cbd5e1;
}

body.dark-mode .btn-secondary:hover {
  background: rgba(167, 139, 250, 0.15);
}

body.dark-mode .gallery-tabs {
  border-bottom-color: rgba(100, 116, 139, 0.2);
}

body.dark-mode .tab-button {
  color: #cbd5e1;
}

body.dark-mode .tab-button.active {
  color: #a78bfa;
  border-bottom-color: #a78bfa;
}

body.dark-mode .tab-button:hover {
  color: #a78bfa;
}

body.dark-mode .video-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(100, 116, 139, 0.3);
}

body.dark-mode .video-details h3,
body.dark-mode .video-details h3 {
  color: #e2e8f0;
}

body.dark-mode .video-details p {
  color: #cbd5e1;
}

body.dark-mode .contact-info-item strong {
  color: #a78bfa;
}

body.dark-mode .contact-info-item a {
  color: #a78bfa;
}

body.dark-mode .contact-info-item a:hover {
  color: #c4b5fd;
}

body.dark-mode .footer-inner,
body.dark-mode .social-links a {
  color: #cbd5e1;
}

body.dark-mode .site-footer {
  border-top-color: rgba(100, 116, 139, 0.35);
}

body.dark-mode .section h3 {
  color: #e2e8f0;
}

body.dark-mode .section p {
  color: #cbd5e1;
}

body.dark-mode .section ul li {
  color: #cbd5e1;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .hobby-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    z-index: 99;
  }

  .nav-links.nav-open {
    display: flex;
  }

  body.dark-mode .nav-links {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(100, 116, 139, 0.3);
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  body.dark-mode .nav-links a {
    border-bottom-color: rgba(100, 116, 139, 0.2);
  }

  .nav-links .dark-mode-toggle {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-content {
    padding: 3rem 0 2rem;
  }

  .hero h1,
  .hero-copy p,
  .hero .eyebrow {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .contact-map iframe {
    min-height: 260px;
  }
}

body.dark-mode .eyebrow {
  background: rgba(167, 139, 250, 0.15);
  color: #c4b5fd;
}

/* ── Safari / iOS fixes ─────────────────────────────────────────── */

/* Remove Safari default button chrome */
button {
  -webkit-appearance: none;
  appearance: none;
}

/* aspect-ratio fallback for Safari < 15 */
@supports not (aspect-ratio: 4 / 5) {
  .video-thumb-wrap,
  .hero-panel-thumb-wrap {
    height: 0;
    padding-top: 125%; /* 5/4 ratio */
  }
}

@supports not (aspect-ratio: 16 / 9) {
  .work-banner {
    height: 0;
    padding-top: 56.25%; /* 9/16 ratio */
  }
}

/* Flexbox gap fallback for Safari < 14.5 */
@supports not (gap: 1rem) {
  .header-inner > * + * { margin-left: 1rem; }
  .hero-actions > * + * { margin-left: 1rem; }
  .social-links > * + * { margin-left: 0.5rem; }
  .footer-brand-group > * + * { margin-left: 0.6rem; }
  .nav-links > * + * { margin-top: 0; margin-left: 1.5rem; }
}
