/* Governors Lane — Princeton Editorial Design */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Outfit:wght@200;300;400;500;600&display=swap');

:root {
  /* Warm stone + charcoal palette */
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #b08d57;
  --accent-light: #d4b896;
  --dark-color: #0f0f1a;
  --light-bg: #f5f2ed;
  --warm-white: #faf8f5;
  --text-color: #2d2d2d;
  --text-light: #7a7a7a;
  --text-muted: #a8a8a8;
  --white: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --overlay-dark: rgba(15, 15, 26, 0.6);

  /* Refined shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-dramatic: 0 30px 80px rgba(0, 0, 0, 0.12);

  /* Motion */
  --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--warm-white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

h1 { font-size: 4rem; }
h2 { font-size: 3.2rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
  margin-bottom: 1.2rem;
  line-height: 1.85;
  font-weight: 300;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

/* ─── Label / Eyebrow Text ─── */

.label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  display: block;
  margin-bottom: 1.2rem;
}

.label-light {
  color: var(--accent-light);
}

/* ─── Navigation ─── */

.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo:hover {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  transition: var(--transition-fast);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color);
}

.nav-link:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0.5rem;
}

/* ─── Hero Section ─── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: var(--dark-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
  animation: heroZoom 20s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 26, 0.2) 0%, rgba(15, 15, 26, 0.35) 50%, rgba(15, 15, 26, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
  padding-top: 4rem;
}

.hero-compact {
  min-height: auto;
  padding: 4rem 2rem;
}

.hero-label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.8rem;
}

.hero h1 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
  white-space: nowrap;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.7), 0 1px 5px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  opacity: 0;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero .btn {
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  opacity: 0;
}

.hero .btn + .btn {
  animation-delay: 0.4s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
  opacity: 0;
  text-align: center;
  pointer-events: none;
}

.scroll-indicator span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 0.8; transform-origin: top; }
}

/* ─── Buttons ─── */

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(176, 141, 87, 0.35);
  background: #9a7a48;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
}

/* ─── Container ─── */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ─── Sections ─── */

.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background: var(--accent-color);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 2.2rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ─── Cards ─── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.7;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 500;
}

.card-text {
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 300;
  font-size: 0.95rem;
}

/* ─── Image Gallery ─── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--primary-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.9), transparent);
  padding: 2rem;
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 300;
}

/* ─── Features Section ─── */

.features {
  background: var(--white);
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.2rem 2.5rem;
  background: var(--warm-white);
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: var(--transition);
  border: 1px solid transparent;
  border-left: 3px solid var(--border-color);
}

.feature-box:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-left-color: var(--accent-color);
  transform: translateX(4px);
}

.feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.feature-box h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ─── Photo Grid Layouts ─── */

.photo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.photo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

/* Asymmetric featured layout for homepage — 1 large + 2 stacked */
.photo-grid-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.photo-grid-featured .photo-item:first-child {
  grid-row: 1 / 3;
}

.photo-grid-featured .photo-item {
  aspect-ratio: auto;
  min-height: 220px;
}

/* Staggered layout — 1 large left + 2 stacked right */
.photo-grid-stagger {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.photo-grid-stagger .photo-item:first-child {
  grid-row: 1 / 3;
}

.photo-grid-stagger .photo-item {
  aspect-ratio: auto;
  min-height: 200px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  box-shadow: none;
  transition: var(--transition);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.photo-item:hover {
  box-shadow: var(--shadow-lg);
}

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

/* ─── Divider ─── */

.section-divider {
  width: 50px;
  height: 1px;
  background: var(--accent-color);
  margin: 0 auto 2rem;
}

/* ─── Stats Row ─── */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 4rem 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Editorial Text Block ─── */

.editorial-block {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.editorial-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-color);
  font-style: italic;
}

/* ─── Feature Cards (icon-less editorial style) ─── */

.editorial-card {
  padding: 3rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
  background: var(--white);
  position: relative;
}

.editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.editorial-card:hover::before {
  transform: scaleX(1);
}

.editorial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.editorial-card .card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: block;
}

/* ─── Full-width Image Band ─── */

.image-band {
  width: 100%;
  height: 50vh;
  overflow: hidden;
  position: relative;
}

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

/* ─── Footer ─── */

.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-fast);
  font-weight: 300;
  font-size: 0.92rem;
}

.footer-section a:hover {
  color: var(--accent-light);
  padding-left: 0;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  font-size: 0.85rem;
}

/* ─── Contact Form ─── */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 3.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 400;
  color: var(--primary-color);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #e0ddd8;
  border-radius: 2px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-detail-box {
  text-align: left;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-detail-box p:last-child {
  margin-bottom: 0;
}

.contact-callout {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(176, 141, 87, 0.22);
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.12), rgba(250, 248, 245, 0.92));
}

.contact-callout p:last-child {
  margin-bottom: 0;
}

.contact-directory {
  line-height: 1.8;
}

.contact-directory-item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-directory-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-directory-value {
  color: var(--text-light);
  text-align: right;
}

.contact-emergency-panel {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.04), rgba(245, 242, 237, 0.9));
}

.contact-emergency-panel h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-emergency-panel p:last-child {
  margin-bottom: 0;
}

/* ─── Scroll Reveal Animations ─── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes busyBlink {
  0%, 100% { opacity: 0.28; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

@keyframes busyPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0.28); opacity: 0.95; }
  70% { box-shadow: 0 0 0 12px rgba(176, 141, 87, 0); opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0); opacity: 0.55; }
}

@keyframes busyShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.fade-in { animation: fadeIn 1s ease; }
.fade-in-up { animation: fadeInUp 1s ease; }

/* ─── Responsive: Tablet ─── */

@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .nav-container {
    padding: 1rem 2rem;
  }

  .photo-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid-featured,
  .photo-grid-stagger {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ─── Responsive: Mobile ─── */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    gap: 0;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
  }

  .scroll-indicator {
    display: none;
  }

  .hero h1 {
    font-size: 2.8rem;
    white-space: normal;
  }

  .hero p {
    font-size: 1rem;
    white-space: normal;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }

  .section-title {
    font-size: 2.2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .photo-grid-2,
  .photo-grid-3,
  .photo-grid-4 {
    grid-template-columns: 1fr;
  }

  .photo-grid-featured {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-grid-featured .photo-item:first-child {
    grid-row: auto;
  }

  .photo-grid-featured .photo-item,
  .photo-grid-stagger .photo-item {
    aspect-ratio: 4/3;
    min-height: auto;
  }

  .photo-grid-stagger {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-grid-stagger .photo-item:first-child {
    grid-row: auto;
  }

  .container {
    padding: 0 1.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-directory-item {
    flex-direction: column;
    gap: 0.35rem;
  }

  .contact-directory-value {
    text-align: left;
  }

  .stats-row {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .editorial-block p {
    font-size: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-box {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
  }
}

/* ─── Utility Classes ─── */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary-color); color: var(--white); }
.bg-secondary { background: var(--secondary-color); color: var(--white); }

/* ─── Badge ─── */

.badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.8rem;
}

/* ─── Document Grid ─── */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.doc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.doc-card:hover::after {
  transform: scaleX(1);
}

.doc-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-3px);
}

.doc-type {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: block;
}

.doc-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.doc-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.doc-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}

/* ─── Chat UI ─── */

.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.chat-header {
  background: var(--primary-color);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.chat-header h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.1rem;
}

.chat-header span {
  color: rgba(255,255,255,0.5);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
}

.chat-body {
  padding: 2rem;
  min-height: 320px;
  background: var(--warm-white);
}

.chat-msg {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.chat-msg.agent { flex-direction: row; }
.chat-msg.user { flex-direction: row-reverse; }

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.chat-msg.user .chat-avatar {
  background: var(--accent-color);
}

.chat-bubble {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem 1.3rem;
  max-width: 75%;
  font-size: 0.92rem;
  line-height: 1.65;
}

.chat-bubble p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.chat-msg.user .chat-bubble {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--border-color);
  background: var(--white);
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 1.2rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  background: transparent;
}

.chat-input button {
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 0 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-input button:hover {
  background: #9a7a48;
}

/* ─── Capability Grid ─── */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.capability-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
}

.capability-item:hover {
  border-left-color: var(--accent-color);
  border-left-width: 3px;
  padding-left: calc(2rem - 2px);
}

.capability-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
}

.capability-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.capability-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ─── Kanban Board ─── */

.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.kanban-col {
  background: var(--warm-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  min-height: 400px;
}

.kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.kanban-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0;
}

.kanban-count {
  background: var(--light-bg);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.kanban-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.3rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  cursor: default;
}

.kanban-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.kanban-card h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.kanban-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.kanban-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.kanban-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.tag-landscape { background: #ecfdf5; color: #059669; }
.tag-maintenance { background: #fef3c7; color: #b45309; }
.tag-infrastructure { background: #ede9fe; color: #7c3aed; }
.tag-safety { background: #fee2e2; color: #dc2626; }
.tag-community { background: #e0f2fe; color: #0284c7; }

.kanban-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── Timeline ─── */

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-color);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.4rem;
  position: relative;
  left: 19px;
  z-index: 1;
}

.timeline-dot.completed { background: #059669; }
.timeline-dot.active {
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.2);
}
.timeline-dot.pending { background: var(--border-color); }

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  flex: 1;
  margin-left: 1rem;
}

.timeline-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.timeline-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: block;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ─── Insight Cards ─── */

.insight-card {
  background: var(--primary-color);
  border-radius: 4px;
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, 0.15);
}

.insight-card h4 {
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.insight-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── Responsive: Documents & Projects Components ─── */

@media (max-width: 768px) {
  .doc-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 18px; }
  .timeline-dot { left: 13px; }
}

/* ─── Brand Lockup ─── */

.logo {
  gap: 0.9rem;
}

.logo-mark {
  width: 58px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
}

.logo-wordmark {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary-color);
}

.logo-kicker {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-color);
}

/* ─── Shared Action Rows ─── */

.button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 36rem);
  margin: 0 auto;
}

.button-row .btn,
.search-actions .btn {
  width: 100%;
  min-height: 3.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero .button-row {
  margin-top: 0.5rem;
}

.hero .button-row .btn {
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  opacity: 0;
}

.hero .button-row .btn:nth-child(2) {
  animation-delay: 0.4s;
}

.btn-light {
  background: var(--white);
  color: var(--primary-color);
}

.btn-light:hover {
  background: var(--warm-white);
  color: var(--primary-color);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: inherit;
}

.content-measure-md {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.content-measure-lg {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  padding: 5rem 0;
}

.cta-section-lg {
  padding: 6rem 0;
}

.cta-title {
  margin-bottom: 1.5rem;
}

.cta-copy {
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  opacity: 0.75;
  font-weight: 300;
}

.small-note {
  margin-top: 0.5rem;
}

.contact-icon-badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.2), rgba(245, 242, 237, 0.95));
  color: var(--primary-color);
  box-shadow: inset 0 0 0 1px rgba(176, 141, 87, 0.16);
}

.contact-icon-svg {
  width: 42px;
  height: 42px;
  display: block;
}

/* ─── History / Archive Presentation ─── */

.history-hero::before {
  top: -15%;
  left: -15%;
  right: -15%;
  bottom: -15%;
  background:
    linear-gradient(rgba(18, 14, 10, 0.34), rgba(18, 14, 10, 0.34)),
    url('images/history/article-page-5.jpg') center 20%/cover no-repeat;
  filter: grayscale(1) sepia(0.55) contrast(0.92) brightness(0.5);
  animation: historyHeroZoom 20s ease forwards;
}

@keyframes historyHeroZoom {
  from { transform: scale(0.8); }
  to { transform: scale(0.88); }
}

.history-hero p {
  width: min(100%, 760px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.history-spotlight,
.history-quote {
  border-radius: 4px;
  padding: 3rem;
}

.history-spotlight {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245, 242, 237, 0.94));
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.history-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.history-copy h3 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.history-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.history-actions .btn {
  width: 100%;
  min-height: 3.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.history-media-stack {
  display: grid;
  gap: 1rem;
}

.history-mini-grid,
.archive-grid,
.brochure-grid {
  display: grid;
  gap: 1.2rem;
}

.history-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-card-feature {
  grid-column: 1 / -1;
}

.brochure-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-figure,
.archive-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.archive-figure img,
.archive-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.archive-figure img {
  aspect-ratio: 5 / 4;
}

.archive-card img {
  aspect-ratio: 16 / 10;
}

.archive-card-feature img {
  aspect-ratio: 16 / 8;
}

.archive-copy {
  padding: 1.35rem 1.4rem 1.5rem;
}

.archive-copy h3 {
  font-size: 1.65rem;
  margin-bottom: 0.55rem;
}

.archive-copy p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.75;
}

.history-reading {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(180deg, rgba(250,248,245,0.96), rgba(245,242,237,0.92));
  border: 1px solid rgba(176, 141, 87, 0.18);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.history-reading p {
  font-size: 1.03rem;
  color: var(--text-color);
}

.history-reading p:last-child,
.archive-copy p:last-child {
  margin-bottom: 0;
}

.history-quote {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.94), rgba(15, 15, 26, 0.98));
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.history-quote p {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.35;
  color: var(--white);
}

.history-quote span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Document Search Experience ─── */

.search-panel,
.results-panel {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2.5rem;
}

.results-panel {
  margin-top: 1.5rem;
}

.answer-panel {
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(176, 141, 87, 0.28);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(212, 184, 150, 0.15), rgba(250, 248, 245, 0.94)),
    var(--warm-white);
}

.answer-panel-placeholder {
  background: var(--white);
  border-color: var(--border-color);
}

.answer-panel-loading-state {
  border-color: rgba(176, 141, 87, 0.34);
  background:
    linear-gradient(135deg, rgba(212, 184, 150, 0.2), rgba(250, 248, 245, 0.98)),
    var(--warm-white);
}

.answer-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.answer-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(26, 26, 46, 0.08);
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.answer-status-caution {
  background: rgba(176, 141, 87, 0.14);
  color: #7a6038;
}

.answer-copy {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--text-color);
}

.answer-loading-stack {
  display: grid;
  gap: 1rem;
}

.answer-loading-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(176, 141, 87, 0.12);
  color: #7a6038;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.answer-loading-signal {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(176, 141, 87, 0.4);
  animation: busyPulseRing 1.5s ease-out infinite;
}

.answer-loading-signal::after {
  content: '';
  position: absolute;
  inset: 0.17rem;
  border-radius: 999px;
  background: var(--accent-color);
}

.answer-loading-bars {
  display: grid;
  gap: 0.65rem;
}

.answer-loading-bar {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(176, 141, 87, 0.12), rgba(176, 141, 87, 0.42), rgba(176, 141, 87, 0.12));
  background-size: 220% 100%;
  animation: busyShimmer 1.35s linear infinite;
}

.answer-loading-bar:nth-child(1) {
  width: 94%;
}

.answer-loading-bar:nth-child(2) {
  width: 82%;
}

.answer-loading-bar:nth-child(3) {
  width: 68%;
}

.answer-points {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-light);
  display: grid;
  gap: 0.45rem;
}

.answer-disclaimer {
  margin: 1rem 0 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.answer-citations {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.answer-citation {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.answer-citation:hover {
  border-color: rgba(176, 141, 87, 0.35);
  box-shadow: var(--shadow);
  color: var(--primary-color);
}

.answer-citation strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.answer-citation span {
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
}

.answer-followup,
.answer-plan {
  margin-top: 1.25rem;
}

.answer-meta-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.answer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.answer-chip {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid rgba(176, 141, 87, 0.3);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.answer-chip:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.answer-plan p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

.status-banner {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(176, 141, 87, 0.28);
  background: rgba(212, 184, 150, 0.12);
  color: var(--text-color);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.document-mode-switch {
  margin-top: 1.5rem;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 34rem);
}

.document-mode-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--primary-color);
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.document-mode-link:hover,
.document-mode-link-active {
  color: var(--white);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.browse-cta {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.45rem;
  border: 1px solid rgba(176, 141, 87, 0.28);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.17), rgba(250, 248, 245, 0.98));
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.browse-cta:hover {
  border-color: rgba(176, 141, 87, 0.48);
  box-shadow: var(--shadow);
  color: var(--primary-color);
}

.browse-cta-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.browse-cta strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.browse-cta-copy {
  display: block;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.7;
}

.search-form {
  display: grid;
  gap: 1rem;
}

.search-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.search-field-wide {
  grid-column: 1 / -1;
}

.search-field label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #e0ddd8;
  border-radius: 2px;
  background: var(--warm-white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.1);
  background: var(--white);
}

.search-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.25rem;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.search-submit:disabled {
  cursor: wait;
  opacity: 1;
}

.search-submit.is-busy {
  background: #9a7a48;
}

.btn-busy-indicator {
  display: none;
  align-items: center;
  gap: 0.28rem;
}

.search-submit.is-busy .btn-busy-indicator {
  display: inline-flex;
}

.btn-busy-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.92);
  animation: busyBlink 1s ease-in-out infinite;
}

.btn-busy-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.btn-busy-dot:nth-child(3) {
  animation-delay: 0.32s;
}

.btn-reset {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.btn-reset:hover {
  background: var(--light-bg);
  color: var(--primary-color);
  box-shadow: none;
  border-color: var(--accent-light);
}

.search-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.results-header {
  margin-bottom: 1.25rem;
}

.results-list {
  display: grid;
  gap: 1rem;
}

.result-card {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  background: var(--warm-white);
  transition: var(--transition-fast);
}

.result-card:hover {
  border-color: rgba(176, 141, 87, 0.3);
  box-shadow: var(--shadow);
}

.result-placeholder {
  background: var(--white);
}

.result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.result-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.result-title a {
  color: var(--primary-color);
}

.result-title a:hover {
  color: var(--accent-color);
}

.result-meta {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;
}

.result-link {
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.result-snippet {
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.scope-card {
  width: 100%;
  appearance: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--white);
}

.scope-card-active,
.scope-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-3px);
}

.scope-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.scope-pill {
  background: var(--white);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scope-pill:hover,
.scope-pill.active {
  color: var(--white);
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* ─── Responsive Additions ─── */

@media (max-width: 768px) {
  .logo-mark {
    width: 48px;
  }

  .logo-wordmark {
    font-size: 1.35rem;
  }

  .logo-kicker {
    letter-spacing: 0.2em;
    font-size: 0.54rem;
  }

  .button-row,
  .history-actions,
  .document-mode-switch,
  .search-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .search-panel,
  .results-panel,
  .history-reading,
  .history-spotlight,
  .history-quote {
    padding: 1.5rem;
  }

  .answer-panel-head,
  .result-head {
    flex-direction: column;
  }

  .answer-status {
    white-space: normal;
  }

  .browse-cta strong,
  .history-copy h3 {
    font-size: 1.6rem;
  }

  .search-row,
  .archive-grid,
  .brochure-grid,
  .history-mini-grid,
  .history-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .history-reading p {
    font-size: 1rem;
  }

  .history-quote p {
    font-size: 1.6rem;
  }
}


.icon-badge,
.contact-icon-badge {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.2), rgba(245, 242, 237, 0.95));
  box-shadow: inset 0 0 0 1px rgba(176, 141, 87, 0.16);
}

.icon-badge-sm,
.feature-icon-badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.18), rgba(245, 242, 237, 0.92));
  box-shadow: inset 0 0 0 1px rgba(176, 141, 87, 0.14);
}

.icon-svg,
.contact-icon-svg {
  width: 42px;
  height: 42px;
  display: block;
}

.icon-svg-sm {
  width: 30px;
  height: 30px;
  display: block;
}

.board-avatar-icon {
  width: 46px;
  height: 46px;
  display: block;
}

.inline-icon-wrap {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.45rem;
  vertical-align: -0.2rem;
}

.inline-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
}
