/* Custom styles beyond Tailwind utilities. */
html {
  scroll-behavior: smooth;
}

:root {
  --navy: #0b2340;
  --navy-light: #12305a;
  --ink: #0f172a;
  --parchment: #f5f1e8;
  --brass: #b8912f;
  --brass-light: #d4af5a;
  --slate: #5b6472;
}

body {
  font-family: "Work Sans", sans-serif;
  background-color: var(--parchment);
}

.font-display {
  font-family: "Fraunces", serif;
}

/* Soft studio-light hotspot for the navy sections */
.navy-surface {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212, 175, 90, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(0, 0, 0, 0.35), transparent 70%);
}

/* Faint blueprint / plot-plan grid texture */
.grid-texture {
  position: relative;
}
.grid-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 90, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 90, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.2) 85%, transparent);
}

/* Thin brass ledger rule */
.rule-brass {
  height: 1px;
  background: linear-gradient(90deg, var(--brass), rgba(184, 145, 47, 0));
}

/* Corner-bracket frame around a featured image, like a stamped document corner */
.corner-frame {
  position: relative;
}
.corner-frame::before,
.corner-frame::after,
.corner-frame > .cf-tr,
.corner-frame > .cf-bl {
  content: "";
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-color: var(--brass-light);
  z-index: 10;
}
.corner-frame::before {
  top: -0.75rem;
  left: -0.75rem;
  border-top: 3px solid var(--brass-light);
  border-left: 3px solid var(--brass-light);
}
.corner-frame::after {
  bottom: -0.75rem;
  right: -0.75rem;
  border-bottom: 3px solid var(--brass-light);
  border-right: 3px solid var(--brass-light);
}

/* Seal / stamp badge */
.seal {
  transform: rotate(-8deg);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile nav */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-menu.open {
  max-height: 24rem;
}

/* Accordion */
.faq-item[open] summary .faq-chevron {
  transform: rotate(45deg);
}
.faq-chevron {
  transition: transform 0.25s ease;
}
summary::-webkit-details-marker {
  display: none;
}
