:root {
  --ink: #171512;
  --cream: #f6f3ee;
  --dot-pattern: radial-gradient(circle, rgba(23, 21, 18, 0.08) 1px, transparent 1px);
}

body {
  font-family: 'Inter Tight', sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  background-image: var(--dot-pattern);
  background-size: 24px 24px;
}

/* Rich-text (CKEditor) content areas: admin-entered HTML has no utility
   classes on its own tags, so give paragraphs/lists/links sane spacing. */
.rich-text p {
  margin-bottom: 1em;
}
.rich-text p:last-child {
  margin-bottom: 0;
}
.rich-text ul,
.rich-text ol {
  margin: 0 0 1em 1.25em;
}
.rich-text ul {
  list-style: disc;
}
.rich-text ol {
  list-style: decimal;
}
.rich-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rich-text strong {
  font-weight: 600;
}

/* Trusted-brands logo marquee: fixed-width slides so Swiper's continuous
   loop scrolls them at an even pace regardless of each logo's own size. */
.trusted-swiper {
  padding: 0 24px;
}
.trusted-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.trusted-brand-item {
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Same light dot pattern for white panels that sit on a non-white parent
   (e.g. inside a dark section) and so can't just inherit it from body. */
.bg-texture-panel {
  background-color: #ffffff;
  background-image: var(--dot-pattern);
  background-size: 24px 24px;
}

/* Soft, organic leaf-shadow overlay - a natural-light feel for the About Us
   section, sitting on top of the site's usual white/dot background. */
.leaf-shadow-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/leaf-shadow.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 55% auto;
  opacity: 0.22;
  pointer-events: none;
}
@media (max-width: 768px) {
  .leaf-shadow-bg::before {
    background-size: 90% auto;
    background-position: top right;
    opacity: 0.18;
  }
}

/* Subtle diagonal film-strip motif behind the Services section. */
.filmstrip-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 480px;
  background-image: url('/static/img/film-strip-bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 768px) {
  .filmstrip-bg::before {
    height: 240px;
    background-size: 260% auto;
    background-position: top center;
    opacity: 0.5;
  }
}

/* Scattered polaroid-frame accents behind the Featured Albums section. */
.album-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 700px;
  background-image: url('/static/img/album-pattern.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  opacity: 0.7;
  pointer-events: none;
}
@media (max-width: 768px) {
  .album-pattern-bg::before {
    height: 420px;
    background-size: 320% auto;
    background-position: top left;
  }
}

/* Bird's Nest Cloud credit link, colored with BNC's own brand gradient. */
.bnc-credit-link {
  background: linear-gradient(135deg, #00AAFF 0%, #00FFD1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.bnc-credit-link:hover {
  opacity: 0.8;
}

/* Simple camera-viewfinder corner brackets framing the FAQ section. */
.focus-bracket {
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}
.focus-bracket-tl { top: 56px; left: 24px; border-top: 2px solid #b9b2a6; border-left: 2px solid #b9b2a6; }
.focus-bracket-tr { top: 56px; right: 24px; border-top: 2px solid #b9b2a6; border-right: 2px solid #b9b2a6; }
.focus-bracket-bl { bottom: 32px; left: 24px; border-bottom: 2px solid #b9b2a6; border-left: 2px solid #b9b2a6; }
.focus-bracket-br { bottom: 32px; right: 24px; border-bottom: 2px solid #b9b2a6; border-right: 2px solid #b9b2a6; }
@media (max-width: 768px) {
  .focus-bracket { width: 22px; height: 22px; }
  .focus-bracket-tl, .focus-bracket-tr { top: 40px; }
  .focus-bracket-bl, .focus-bracket-br { bottom: 16px; }
  .focus-bracket-tl, .focus-bracket-bl { left: 14px; }
  .focus-bracket-tr, .focus-bracket-br { right: 14px; }
}

.font-serif,
h1, h2, h3,
.section-heading {
  font-family: 'Antic Didone', serif;
}

.navbar-gradient {
  background: radial-gradient(ellipse at 50% 0%, #5c5854 0%, #2a2724 55%, #141210 100%);
  transition: background 0.35s ease;
}

/* Home page only: navbar floats transparently over the hero image and
   picks up its normal solid background once the page is scrolled past it. */
body.has-transparent-nav header.navbar-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0));
}
body.has-transparent-nav header.navbar-gradient.navbar-solid {
  background: radial-gradient(ellipse at 50% 0%, #5c5854 0%, #2a2724 55%, #141210 100%);
}

.logo-script {
  font-family: 'Pinyon Script', cursive;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: inherit;
  flex-shrink: 0;
}
.theme-toggle-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}
.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }
html.dark .theme-toggle-btn .icon-sun { display: block; }
html.dark .theme-toggle-btn .icon-moon { display: none; }

.nav-link-dark {
  position: relative;
  color: #e5e0da;
  transition: color 0.25s ease;
}
.nav-link-dark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link-dark:hover {
  color: #fff;
}
.nav-link-dark:hover::after {
  width: 100%;
}

.bg-ink { background-color: var(--ink); }
.text-ink { color: var(--ink); }
.bg-cream { background-color: var(--cream); }

.section-heading {
  font-size: 1.875rem;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .section-heading { font-size: 2.5rem; }
}

/* Nav links with animated underline, matching the source site's subtle hover transitions */
.nav-link {
  position: relative;
  color: var(--ink);
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.link-underline {
  position: relative;
  text-decoration: none;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 2.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
}
.btn-primary:disabled {
  background: #c9c4bb;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.85rem 2.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 0.85rem 2.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
}

.form-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.required-star {
  color: #dc2626;
  text-transform: none;
  letter-spacing: normal;
}

/* Package-booking modal form: minimal underline inputs instead of boxes,
   matching the homepage's creative contact form treatment. */
.package-form input,
.package-form textarea {
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
.package-form input:focus,
.package-form textarea:focus {
  border-bottom-color: var(--ink) !important;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Graceful degradation: show only the first slide, correctly cropped,
   if the Swiper CDN assets are ever slow/unreachable. Scoped to
   :not(.swiper-initialized) so it steps aside completely once Swiper
   has taken over - it never fights Swiper's own active-slide styling. */
.testimonial-swiper:not(.swiper-initialized) .swiper-wrapper {
  position: relative;
}
.testimonial-swiper:not(.swiper-initialized) .swiper-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.testimonial-swiper:not(.swiper-initialized) .swiper-slide:first-child {
  position: relative;
  opacity: 1;
}

/* Hero video mute/unmute button, bottom-right */
.hero-nav-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
.hero-nav-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}
.hero-mute-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10;
}
.hero-mute-btn .icon-unmuted { display: none; }
.hero-mute-btn.is-unmuted .icon-muted { display: none; }
.hero-mute-btn.is-unmuted .icon-unmuted { display: block; }

/* Mobile menu */
#mobile-menu.is-open { display: block; }
#mobile-menu.is-open #mobile-menu-panel { transform: translateX(0); }

/* Portfolio gallery: filter tabs, masonry grid, lightbox */
.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #d1d5db;
  color: #6b7280;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.gallery-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.gallery-filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.gallery-heading {
  font-family: 'Antic Didone', serif;
  font-style: italic;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.gallery-item.is-hidden { display: none; }
.gallery-item-video {
  aspect-ratio: 16 / 9;
  cursor: default;
}
.gallery-item-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.masonry-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.masonry-play-icon svg {
  width: 3rem;
  height: 3rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-figure img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox-video-wrap {
  width: min(90vw, 960px);
  aspect-ratio: 16 / 9;
}
.lightbox-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-figure figcaption {
  color: #fff;
  font-family: 'Antic Didone', serif;
  margin-top: 1rem;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* FAQ accordion */
.faq-item {
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease;
}
.faq-item.is-open {
  border-color: var(--ink);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* Creative homepage contact form: minimal underline inputs instead of the
   boxed style used on the standalone /contact/ page. */
.contact-creative input,
.contact-creative textarea {
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}
.contact-creative input:focus,
.contact-creative textarea:focus {
  border-bottom-color: var(--ink) !important;
}

.contact-quote-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 119, 6, 0.22) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(217, 119, 6, 0.10) 0%, transparent 55%),
    linear-gradient(155deg, #2a231c 0%, var(--ink) 55%, #0c0a08 100%);
}
.contact-quote-panel::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
  pointer-events: none;
}
.contact-quote-panel::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.quote-mark {
  display: block;
  font-family: 'Antic Didone', serif;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, #f0c674, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -1.5rem;
}
.testimonial-rotator {
  position: relative;
}
.testimonial-slide {
  display: none;
}
.testimonial-slide.is-active {
  display: block;
  animation: testimonial-fade-in 0.6s ease;
}
@keyframes testimonial-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating social icons, fixed bottom-left on every page */
.floating-social {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.floating-social-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.floating-social-btn svg {
  width: 1.3rem;
  height: 1.3rem;
}
.floating-social-facebook { background: #1877f2; }
.floating-social-youtube { background: #ff0000; }
.floating-social-instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}
.floating-social-tiktok { background: #000000; }
.floating-social-linkedin { background: #0a66c2; }

@media (max-width: 640px) {
  .floating-social {
    left: 0.85rem;
    bottom: 0.85rem;
    gap: 0.5rem;
  }
  .floating-social-btn {
    width: 2.4rem;
    height: 2.4rem;
  }
  .floating-social-btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

/* Floating WhatsApp CTA box: mirrors .floating-social on the opposite
   corner, but as a labelled pill rather than a bare icon. */
.floating-whatsapp-box {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-whatsapp-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.floating-whatsapp-box svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .floating-whatsapp-box {
    right: 0.85rem;
    bottom: 6.75rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.7rem;
  }
  .floating-whatsapp-box svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

/* =========================================================================
   Dark mode
   Sections built on .bg-ink / var(--ink) (navbar, footer, hero video,
   portfolio dark bento, contact quote panel) are already dark and don't
   change with the toggle. Everything below inverts the site's normally
   *light* chrome - the pages, cards and form controls that sit on the
   default white background - so the whole site works in both modes.
   ========================================================================= */
html.dark {
  --dot-pattern: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
}
html.dark body {
  background-color: #17140f;
  color: #efe9df;
}
html.dark .bg-white,
html.dark .bg-cream,
html.dark .bg-gray-50 {
  background-color: #1d1a15;
}
html.dark .bg-texture-panel {
  background-color: #1d1a15;
  color: #efe9df;
}
html.dark .bg-green-50 { background-color: #142a1c; }
html.dark .text-green-800 { color: #86efac; }
html.dark .bg-amber-50 { background-color: #2b2013; }
html.dark .text-black { color: #efe9df; }
html.dark .bg-black { background-color: #efe9df; }
html.dark .border-black { border-color: rgba(239, 233, 223, 0.35); }
html.dark .bg-gray-300 { background-color: rgba(239, 233, 223, 0.25); }
html.dark .text-gray-300 { color: #a39c8f; }
html.dark .text-gray-400 { color: #8f8878; }
html.dark .text-gray-500 { color: #a39c8f; }
html.dark .text-gray-600 { color: #b7b0a1; }
html.dark .text-gray-700 { color: #cdc6b8; }
html.dark .border-gray-100,
html.dark .border-gray-200,
html.dark .border-gray-300 {
  border-color: rgba(239, 233, 223, 0.12);
}

/* Buttons/links/inputs that key off var(--ink) - fine for the sections that
   are always dark, but need inverting wherever they sit on the page's own
   (now dark) background. */
html.dark .btn-primary { background: #efe9df; color: #17140f; }
html.dark .btn-primary:hover { background: #ffffff; }
html.dark .btn-outline { border-color: rgba(239, 233, 223, 0.4); color: #efe9df; }
html.dark .btn-outline:hover { background: #efe9df; color: #17140f; }
html.dark .nav-link { color: #efe9df; }
html.dark .required-star { color: #f87171; }

html.dark .faq-item { border-color: rgba(239, 233, 223, 0.15); }
html.dark .faq-item.is-open { border-color: #efe9df; }

html.dark .gallery-filter-btn {
  border-color: rgba(239, 233, 223, 0.25);
  color: rgba(239, 233, 223, 0.6);
}
html.dark .gallery-filter-btn:hover {
  border-color: #efe9df;
  color: #efe9df;
}
html.dark .gallery-filter-btn.is-active {
  background: #efe9df;
  border-color: #efe9df;
  color: #17140f;
}

html.dark .contact-creative input,
html.dark .contact-creative textarea {
  border-bottom-color: rgba(239, 233, 223, 0.25) !important;
  color: #efe9df;
}
html.dark .contact-creative input:focus,
html.dark .contact-creative textarea:focus {
  border-bottom-color: #efe9df !important;
}
html.dark .package-form input,
html.dark .package-form textarea {
  border-bottom-color: rgba(239, 233, 223, 0.25) !important;
  color: #efe9df;
}
html.dark .package-form input:focus,
html.dark .package-form textarea:focus {
  border-bottom-color: #efe9df !important;
}
html.dark .form-label { color: #a39c8f; }

html.dark input.focus\:border-black:focus,
html.dark textarea.focus\:border-black:focus {
  border-color: #efe9df;
}

html.dark .select-package-btn:hover {
  background-color: #efe9df;
  color: #17140f;
}
/* Trusted-brand logos are dark monochrome PNGs (drawn for a white/cream
   background) - invert them so they read on the dark background instead. */
html.dark .trusted-brand-logo {
  filter: invert(1) brightness(1.6);
}
html.dark #package-modal-close:hover {
  color: #efe9df;
}

/* Plain boxed inputs (the standalone /contact/ page) never set their own
   background, so they fall back to the browser's opaque white default -
   glaring against a dark page. Make all public-site form fields transparent
   and light-colored in dark mode, with a dark-friendly native date picker. */
html.dark input,
html.dark textarea,
html.dark select {
  background-color: transparent;
  color: #efe9df;
}
html.dark input[type="date"] {
  color-scheme: dark;
}
html.dark input::placeholder,
html.dark textarea::placeholder {
  color: rgba(239, 233, 223, 0.4);
}
