/*
  Utkarsha Aashraya Niketan - static HTML/CSS/JS build.
  Tokens and rules ported 1:1 from the Next.js version's
  src/app/[locale]/globals.css (docs/palette.md Direction B "Mono",
  docs/type-system.md single-font Manrope system). Kept in sync by
  inspection, not by a shared build step.
*/

* {
  box-sizing: border-box;
}

:root {
  --color-paper: #f3f2ef;
  --color-surface: #ffffff;
  --color-ink: #17161a;
  --color-clay: #17161a;
  --color-clay-text: #ffffff;
  --color-ochre: #dcdad4;
  --color-stone: #a6a39b;
  --color-muted: #6e6b64;
  --color-danger: #b3261e;

  --font-sans: "Manrope", sans-serif;

  --text-h1: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  --text-h2: clamp(1.5rem, 1.15rem + 1.8vw, 2.5rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.6vw, 1.625rem);
  --text-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --text-label: clamp(0.75rem, 0.72rem + 0.15vw, 0.875rem);
  --text-small: clamp(0.75rem, 0.73rem + 0.1vw, 0.8125rem);
  --text-button: clamp(0.875rem, 0.85rem + 0.1vw, 1rem);

  --header-h: 64px;
  --z-header: 40;
  --z-panel: 30;
  --z-drawer: 50;
}

/* Nepali (Devanagari) font swap - Manrope has no Devanagari glyphs. */
html[lang="ne"] {
  --font-sans: "Noto Sans Devanagari", sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  max-width: 80rem; /* 1280px, matches max-w-7xl */
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Reveal-on-scroll ----------
   Base state is fully visible; JS only ADDS a temporary pending state for
   elements not yet on screen at load, so content is never gated on JS
   running. See js/main.js. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Buttons ---------- */
.btn-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  background: var(--color-clay);
  color: var(--color-clay-text);
  padding: 0.625rem 1.125rem;
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: 500;
  transition: transform 0.15s ease;
}

.btn-inquire:active {
  transform: scale(0.98);
}

.btn-inquire svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-header);
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-solid {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(166, 163, 155, 0.15);
}

.header-inner {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding-inline: 1.5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 34px;
  width: auto;
  transition: filter 0.3s ease;
}

/* The mark is dark navy - add a soft light halo while the header floats
   transparently over the (also dark) hero photo, so it stays legible.
   Removed once the header goes solid white, where contrast is already fine. */
.site-header:not(.is-solid) .logo img {
  filter: drop-shadow(0 1px 5px rgba(255, 255, 255, 0.85));
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: 2.5rem;
}

.header-right {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-right-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  /* Three-column grid so the nav links can sit centered in the bar,
     independent of how wide the logo or the right-hand group are -
     a flex layout can't center a middle item against two differently
     sized siblings without this. */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .logo {
    justify-self: start;
  }

  .main-nav {
    display: flex;
    justify-content: center;
    margin-left: 0;
  }
  .header-right {
    display: flex;
    justify-self: end;
  }
  .header-right-mobile {
    display: none;
  }
}

.nav-link {
  font-size: var(--text-label);
  color: rgba(243, 242, 239, 0.7);
  transition: color 0.2s ease;
}

.site-header.is-solid .nav-link {
  color: var(--color-muted);
}

.nav-link:hover {
  color: var(--color-paper);
}

.site-header.is-solid .nav-link:hover {
  color: var(--color-ink);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-label);
}

.lang-switch button {
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: rgba(243, 242, 239, 0.8);
  transition: color 0.2s ease;
}

.site-header.is-solid .lang-switch button {
  color: var(--color-muted);
}

.lang-switch button:hover {
  color: var(--color-paper);
}

.site-header.is-solid .lang-switch button:hover {
  color: var(--color-ink);
}

.lang-switch button.is-active {
  background: var(--color-clay);
  color: var(--color-clay-text);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  color: var(--color-paper);
  transition: color 0.3s ease;
}

.site-header.is-solid .menu-toggle {
  color: var(--color-ink);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.icon-close {
  display: none;
}

.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

/* Mobile menu - plain top-level links, no per-section quick actions */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid rgba(166, 163, 155, 0.15);
  background: var(--color-surface);
  padding: 0.5rem 1rem 1rem;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.5rem;
  font-size: var(--text-body);
  font-weight: 500;
}

.mobile-menu .btn-inquire {
  margin-top: 0.5rem;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background: rgba(23, 22, 26, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 6rem 1.5rem 0;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content {
    padding-top: 5rem;
  }
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-paper);
  margin: 0;
}

.hero-heading .emphasis {
  text-decoration: underline;
  text-decoration-color: rgba(243, 242, 239, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.hero-sub {
  max-width: 26rem;
  font-size: var(--text-body);
  color: rgba(243, 242, 239, 0.85);
  margin: 0;
}

.hero-sentinel {
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
}

/* ---------- Section basics ---------- */
.section {
  padding-block: 5rem;
}

.section-tight {
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .section {
    padding-block: 7rem;
  }
  .section-tight {
    padding-block: 6rem;
  }
}

.section-surface {
  background: var(--color-surface);
}

.section-paper {
  background: var(--color-paper);
}

.section-heading {
  font-family: var(--font-sans);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.section-intro {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.section-intro-wide {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
}

.section-body {
  margin: 0.75rem auto 0;
  max-width: 50ch;
  color: var(--color-muted);
  font-size: var(--text-body);
}

/* ---------- About (company story) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.about-brandmark img {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  border-radius: 1rem;
  display: block;
}

.about-story .section-heading {
  text-align: left;
  margin-bottom: 1rem;
}

.about-paragraph {
  max-width: 60ch;
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: var(--text-body);
}

.about-story .founders {
  margin-top: 2rem;
  text-align: left;
}

.about-story .founders-grid {
  justify-content: flex-start;
}

/* ---------- Why trust us (values) ---------- */
.about-values {
  margin: 2rem auto 0;
  display: flex;
  max-width: 80rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.value-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--color-clay);
  color: var(--color-clay-text);
}

.value-badge svg {
  width: 16px;
  height: 16px;
}

.about-value span:last-child {
  font-size: var(--text-button);
  font-weight: 500;
}

/* Founders */
.founders {
  margin-top: 3rem;
  text-align: center;
}

.founders-label {
  margin: 0 0 1.25rem;
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.founders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.founder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.founder-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-clay);
  color: var(--color-clay-text);
  font-size: var(--text-label);
  font-weight: 600;
}

.founder-name {
  margin: 0;
  font-size: var(--text-button);
  font-weight: 600;
}

.founder-title {
  margin: 0.125rem 0 0;
  font-size: var(--text-small);
  color: var(--color-muted);
}

/* Marquee */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 5rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: flex-end;
  gap: 1rem;
  /* 0 -> -50% shifts the strip leftward over time, which sweeps photos
     right-to-left across the viewport: each one enters at the right edge
     and exits at the left. (Confirmed by working through the transform
     math, not just assumed - see docs/build-spec.md if this ever needs
     re-deriving.) */
  animation: marquee 36s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*
  The marquee keeps animating even under prefers-reduced-motion: it's
  purely decorative (aria-hidden, no reading-order content, nothing to
  track or interact with), unlike the reveal-on-scroll fades below, which
  still honor the preference. If the marquee turns out to feel static in
  your browser, check your OS/browser's own "reduce motion" setting first
  - it isn't this rule anymore, since it no longer disables the marquee.
*/

.marquee-photo {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

.marquee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Varied heights per photo (docs/section-layouts.md) - bottom-aligned via
   .marquee-track's align-items: flex-end so the skyline reads deliberate. */
.marquee-shape-1 { height: 16rem; width: 12rem; }
.marquee-shape-2 { height: 13rem; width: 16rem; }
.marquee-shape-3 { height: 18rem; width: 12rem; }
.marquee-shape-4 { height: 14rem; width: 14rem; }
.marquee-shape-5 { height: 15rem; width: 16rem; }
.marquee-shape-6 { height: 18rem; width: 12rem; }

@media (min-width: 640px) {
  .marquee-shape-1 { height: 20rem; width: 15rem; }
  .marquee-shape-2 { height: 16rem; width: 20rem; }
  .marquee-shape-3 { height: 24rem; width: 16rem; }
  .marquee-shape-4 { height: 18rem; width: 18rem; }
  .marquee-shape-5 { height: 20rem; width: 20rem; }
  .marquee-shape-6 { height: 24rem; width: 15rem; }
}

/* ---------- Property types ---------- */
.property-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.75rem;
  background: rgba(166, 163, 155, 0.2);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card-label {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
  border-radius: 0.375rem;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 0.25rem 0.625rem;
  font-size: var(--text-label);
  font-weight: 500;
}

.property-helper {
  margin-top: 2rem;
  text-align: center;
  color: var(--color-muted);
  font-size: var(--text-body);
}

.link-inquire {
  font-weight: 500;
  color: var(--color-clay);
}

/* ---------- Why choose us ---------- */
.whyus-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 768px) {
  .whyus-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.whyus-images {
  position: relative;
  width: 100%;
  margin-inline: auto;
  height: 420px;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .whyus-images {
    height: 480px;
  }
}

.whyus-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 1rem;
}

.whyus-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whyus-photo-back {
  left: 0;
  top: 0;
  width: 14rem;
  height: 16rem;
}

.whyus-photo-front {
  right: 0;
  bottom: 0;
  width: 16rem;
  height: 18rem;
}

@media (min-width: 640px) {
  .whyus-photo-back {
    width: 16rem;
    height: 18rem;
  }
  .whyus-photo-front {
    width: 18rem;
    height: 20rem;
  }
}

.whyus-arrow {
  position: absolute;
  left: 38%;
  top: 24%;
  width: 80px;
  height: 64px;
  color: var(--color-clay);
}

.whyus-timeline {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
}

.timeline-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-clay);
  color: var(--color-clay-text);
}

.timeline-badge svg {
  width: 20px;
  height: 20px;
}

.timeline-connector {
  flex: 1;
  width: 1px;
  margin-block: 0.25rem;
  border-left: 2px dashed rgba(23, 22, 26, 0.3);
}

.timeline-content {
  padding-bottom: 2rem;
}

.timeline-content:last-of-type {
  padding-bottom: 0;
}

.timeline-content h3 {
  font-family: var(--font-sans);
  font-size: var(--text-h3);
  font-weight: 600;
  margin: 0;
}

.timeline-content p {
  margin: 0.375rem 0 0;
  max-width: 45ch;
  color: var(--color-muted);
  font-size: var(--text-body);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.final-cta-image,
.final-cta-scrim {
  position: absolute;
  inset: 0;
}

.final-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-scrim {
  background: rgba(23, 22, 26, 0.6);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 6rem 1.5rem;
  text-align: center;
}

.final-cta-heading {
  font-family: var(--font-sans);
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-paper);
  margin: 0;
}

.final-cta-sub {
  max-width: 26rem;
  color: rgba(243, 242, 239, 0.85);
  font-size: var(--text-body);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  padding-top: 4rem;
}

.footer-grid {
  margin-inline: auto;
  max-width: 80rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-inline: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-paper);
  margin: 0;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  max-width: 38ch;
  color: rgba(243, 242, 239, 0.6);
  font-size: var(--text-small);
}

.footer-label {
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(243, 242, 239, 0.45);
  margin: 0;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a,
.footer-links button {
  font-size: var(--text-small);
  color: rgba(243, 242, 239, 0.7);
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-paper);
}

.footer-bottom {
  margin: 3rem auto 0;
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(243, 242, 239, 0.1);
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  margin: 0;
  font-size: var(--text-small);
  color: rgba(243, 242, 239, 0.45);
}

/* ---------- Contact drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(23, 22, 26, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: var(--z-drawer);
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
  overflow-y: auto;
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.3s ease-out;
}

@media (min-width: 640px) {
  .drawer-panel {
    padding-inline: 2.5rem;
  }
}

.drawer-panel.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
}

.drawer-close:hover {
  background: var(--color-paper);
}

.drawer-close svg {
  width: 20px;
  height: 20px;
}

.drawer-heading {
  margin: 0.5rem 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.1;
}

.drawer-sub {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: var(--text-body);
}

.drawer-success {
  margin-top: 2rem;
  border-radius: 0.75rem;
  background: var(--color-paper);
  padding: 1.5rem;
}

.drawer-success p:first-child {
  margin: 0;
  font-size: var(--text-body);
  font-weight: 500;
}

.drawer-success p:last-child {
  margin: 0.375rem 0 0;
  font-size: var(--text-small);
  color: var(--color-muted);
}

.drawer-success a {
  font-weight: 500;
  color: var(--color-clay);
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form.is-hidden {
  display: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-field label {
  font-size: var(--text-label);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(166, 163, 155, 0.3);
  border-radius: 0.5rem;
  background: var(--color-surface);
  padding: 0 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--color-ink);
  outline: none;
}

.form-field input,
.form-field select {
  height: 44px;
}

.form-field textarea {
  padding-block: 0.625rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-clay);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
}

/* Invalid state: set by main.js via aria-invalid on submit, cleared as
   soon as the visitor edits the field. Red is reserved for this - it's
   the only place a second color appears against the mono palette. */
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.form-field input[aria-invalid="true"]:focus,
.form-field select[aria-invalid="true"]:focus,
.form-field textarea[aria-invalid="true"]:focus {
  border-color: var(--color-danger);
}

.field-error {
  margin: 0;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-danger);
}

.field-error:empty {
  display: none;
}

.contact-form .btn-inquire {
  margin-top: 0.25rem;
  justify-content: center;
}

.contact-email-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: var(--text-small);
  color: var(--color-muted);
}

.contact-email-line svg {
  width: 14px;
  height: 14px;
}
