@font-face {
  font-family: 'deriviaregular';
  src: url('/assets/fonts/derivia-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #f7f3eb;
  --bg-alt: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #1f2937;
  --muted: rgba(31, 41, 55, 0.72);
  --gold: #b08a43;
  --gold-2: #8f6a25;
  --line: rgba(31, 41, 55, 0.12);
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
  --pattern-mark: url('/assets/ptrn2.png');
}

html {
  scroll-behavior: smooth;
}

img,
video,
iframe {
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(176, 138, 67, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(31, 41, 55, 0.04), transparent 28%),
    #ffffff;
  color: var(--text);
}

:focus-visible {
  outline: 3px solid rgba(176, 138, 67, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: #111827;
  color: #fff;
  border-radius: 0.75rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

body:not(.admin-shell) .text-white {
  color: var(--text) !important;
}

body:not(.admin-shell) .text-white-50,
body:not(.admin-shell) .text-muted {
  color: rgba(31, 41, 55, 0.72) !important;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header {
  z-index: 1030;
  border-bottom: 1px solid var(--line);
}

.navbar {
  border-bottom: 1px solid transparent;
}

.brand-mark {
  width: 96px;
  height: 36px;
  object-fit: contain;
}

.brand-name,
.brand-tagline {
  display: none;
}

.site-menu .nav-link {
  color: rgba(31, 41, 55, 0.82) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1.1rem 0.95rem;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.site-menu .nav-link.active,
.site-menu .nav-link:hover {
  color: #000 !important;
}

.dropdown-menu {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 2000;
}

.photography-dropdown {
  width: min(94vw, 470px);
  padding: 0.7rem;
  border-radius: 24px;
}

.photography-dropdown li + li {
  margin-top: 0.45rem;
}

.photography-menu-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: 18px;
  padding: 0.75rem;
  white-space: normal;
}

.photography-menu-card:hover,
.photography-menu-card:focus-visible {
  background: rgba(176, 138, 67, 0.08);
}

.photography-menu-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  flex: 0 0 auto;
  background: #ebe4d8;
}

.photography-menu-copy {
  display: grid;
  gap: 0.2rem;
}

.photography-menu-title {
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.photography-menu-desc {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.dropdown-item {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.btn-gold {
  background: #d0ad87;
  color: #111;
  border: 0;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(176, 138, 67, 0.18);
}

.btn-gold:hover {
  color: #111;
  transform: translateY(-1px);
}

.btn-outline-dark {
  border-color: rgba(31, 41, 55, 0.18);
}

.btn-outline-dark:hover {
  background: #111827;
  color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
}

.hero-section::before,
.page-intro::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 180px;
  height: 22px;
  background: var(--pattern-mark) center/contain no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.2;
}

.hero-section::before {
  top: 18px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff url('/assets/home/hero-1.webp') center/cover no-repeat;
}

.hero-section .container {
  z-index: 1;
}

.eyebrow,
.section-kicker,
.text-gold {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 54px;
  height: 14px;
  background: var(--pattern-mark) center/contain no-repeat;
  opacity: 0.8;
  flex: 0 0 auto;
}

.section-kicker::after {
  transform: scaleX(-1);
  opacity: 0.55;
}

.hero-title,
.section-title,
.footer-title {
  font-family: 'deriviaregular', 'Playfair Display', serif;
  font-weight: 400;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.95;
  max-width: 9ch;
  margin: 0.5rem 0 1rem;
}

.hero-subtitle {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  color: rgba(31, 41, 55, 0.72);
}

.hero-copy,
.section-lead,
.section-body,
.footer-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.footer-managed-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: #d0ad87;
  padding: 0.4rem 0.7rem;
  border-radius: 0.75rem;
}

.footer-managed-logo {
  display: block;
  height: 12px;
  width: auto;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.page-intro,
.content-section {
  padding: 4.5rem 0 1.5rem;
}

.page-intro,
.site-footer {
  position: relative;
}

.page-intro::before {
  top: 14px;
  opacity: 0.18;
}

.site-footer::before {
  top: 14px;
  opacity: 0.14;
}

.home-page .section-compact {
  padding-top: calc(4.5rem + 5px);
  padding-bottom: calc(4.5rem + 5px);
}

.home-page .section-compact.pt-0 {
  padding-top: 5px;
}

.home-page .section-compact.pb-5 {
  padding-bottom: calc(3rem + 5px);
}

.section-title {
  font-size: clamp(1.54rem, 3.5vw, 3.22rem);
  line-height: 1;
}

.light-card,
.glass-card,
.stat-pill,
.faq-item,
.admin-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.glass-card:hover,
.light-card:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  border-color: rgba(176, 138, 67, 0.32);
}

.card-top-image,
.album-grid img,
.video-thumb {
  width: 100%;
  object-fit: cover;
}

.card-top-image {
  height: 250px;
}

.album-grid img,
.video-thumb {
  height: 280px;
}

.service-gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card {
  padding: 28px;
  height: 100%;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
}

.album-meta,
.video-meta {
  padding: 20px;
}

.faq-item {
  overflow: hidden;
}

.faq-button {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  text-align: left;
  padding: 18px 20px;
  font-weight: 700;
}

.faq-button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(176, 138, 67, 0.4);
}

.faq-body {
  border-top: 1px solid var(--line);
  padding: 0 20px 18px;
  color: var(--muted);
}

.contact-map {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.footer-logo {
  width: 110px;
  height: auto;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(176, 138, 67, 0.28);
  background: rgba(208, 173, 135, 0.12);
  color: var(--gold);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a i {
  color: inherit;
}

.footer-social a:hover {
  background: #d0ad87;
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.footer-social a:focus-visible {
  background: #d0ad87;
  color: #fff;
  border-color: transparent;
}

.client-logo-card {
  min-height: 108px;
  background: #ffffff;
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
}

.client-logo-img {
  display: block;
  width: 100%;
  max-width: 124px;
  max-height: 64px;
  object-fit: contain;
}

.client-marquee {
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0 0.25rem;
}

.client-marquee-empty {
  min-height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 41, 55, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
  border-radius: 20px;
  color: #6b7280;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 2;
}

.client-marquee::before {
  left: 0;
  background: #ffffff;
}

.client-marquee::after {
  right: 0;
  background: #ffffff;
}

.client-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: client-marquee-scroll 34s linear infinite;
}

.client-marquee:hover .client-marquee-track {
  animation-play-state: paused;
}

.client-marquee-item {
  flex: 0 0 auto;
  width: 160px;
}

@keyframes client-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.copyright-wrap a {
  color: var(--gold);
  text-decoration: none;
}

.copyright-wrap a:hover {
  text-decoration: underline;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.admin-shell {
  min-height: 100vh;
  background: #ffffff;
  color: #f3f6fb;
}

.admin-shell .text-white,
.admin-shell .text-white-50,
.admin-shell .text-muted {
  color: inherit !important;
}

.admin-card {
  background: rgba(10, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.admin-card .form-control,
.admin-card textarea.form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-card .form-label {
  color: rgba(255, 255, 255, 0.82);
}

.admin-card .form-control:focus,
.admin-card textarea.form-control:focus {
  color: #fff;
}

.form-control:focus,
.btn:focus,
.dropdown-item:focus {
  box-shadow: 0 0 0 0.2rem rgba(176, 138, 67, 0.2);
}

.table-darkish {
  --bs-table-bg: transparent;
  --bs-table-color: #fff;
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

body:not(.admin-shell) .btn-outline-light {
  color: var(--text);
  border-color: rgba(31, 41, 55, 0.18);
}

body:not(.admin-shell) .btn-outline-light:hover {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.admin-shell .site-header,
.admin-shell .site-footer {
  background: rgba(10, 16, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-shell .navbar .nav-link,
.admin-shell .navbar .navbar-brand,
.admin-shell .navbar .badge {
  color: #f3f6fb !important;
}

.admin-shell .dropdown-menu {
  background: #0c1520;
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-shell .dropdown-item {
  color: #f3f6fb;
}

.admin-shell .dropdown-item:hover,
.admin-shell .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 991px) {
  .site-menu .nav-link {
    padding: 0.85rem 0;
  }

  .photography-dropdown {
    width: min(100%, 470px);
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section::before,
  .page-intro::before,
  .site-footer::before {
    width: 140px;
    height: 18px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .hero-card,
  .light-card,
  .glass-card,
  .stat-pill,
  .faq-item,
  .admin-card {
    border-radius: 20px;
  }

  .card-top-image {
    height: 220px;
  }

  .album-grid img,
  .video-thumb {
    height: 240px;
  }

  .service-card {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .site-header .container,
  .site-footer .container,
  .page-intro .container,
  .content-section .container,
  .hero-section .container {
    width: min(100% - 1rem, 100%);
  }

  .hero-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 17vw, 3.6rem);
    max-width: 10ch;
  }

  .hero-copy,
  .section-lead,
  .section-body,
  .footer-copy {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .page-intro,
  .content-section {
    padding: 3rem 0 1rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 5.6vw, 2.1rem);
  }

  .hero-card {
    padding: 12px;
  }

  .hero-image {
    aspect-ratio: 1 / 1.15;
    border-radius: 18px;
  }

  .light-card,
  .glass-card,
  .stat-pill,
  .faq-item,
  .admin-card,
  .hero-card,
  .hero-card-caption {
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  }

  .stat-pill {
    padding: 16px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .card-top-image,
  .album-grid img,
  .video-thumb {
    height: 200px;
  }

  .album-meta,
  .video-meta,
  .faq-button,
  .faq-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-button {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .footer-logo {
    width: 96px;
  }

  .client-logo-card {
    min-height: 92px;
  }

  .client-logo-img {
    max-width: 100px;
    max-height: 46px;
  }

  .client-marquee::before,
  .client-marquee::after {
    width: 32px;
  }

  .client-marquee-track {
    gap: 0.75rem;
    animation-duration: 28s;
  }

  .client-marquee-item {
    width: 132px;
  }

  .copyright-wrap {
    display: grid;
    gap: 0.75rem;
    text-align: center;
  }

  .copyright-wrap a {
    word-break: break-word;
  }

  .footer-managed-logo {
    height: 11px;
  }
}

@media (max-width: 575px) {
  .site-menu .nav-link {
    padding: 0.7rem 0;
    font-size: 0.8rem;
  }

  .photography-menu-card {
    align-items: flex-start;
  }

  .photography-menu-thumb {
    width: 62px;
    height: 62px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 15vw, 3rem);
  }

  .hero-copy,
  .section-lead,
  .section-body,
  .footer-copy {
    font-size: 0.95rem;
  }

  .light-card,
  .glass-card,
  .stat-pill,
  .faq-item,
  .admin-card,
  .hero-card {
    border-radius: 18px;
  }

  .service-card {
    padding: 18px;
  }

  .card-top-image,
  .album-grid img,
  .video-thumb,
  .service-gallery-grid img {
    height: 180px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .btn-lg {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .client-marquee-item {
    width: 120px;
  }

  .section-kicker::before,
  .section-kicker::after {
    width: 34px;
    height: 10px;
  }
}
