.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

.btn-dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-accent);
}

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

.btn-light:hover {
  background: var(--color-accent-soft);
}

.btn-ghost {
  border-color: currentColor;
  background: transparent;
}

.btn-ghost:hover {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

.hero .btn-ghost:hover,
.section-dark .btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: var(--color-white);
}

.btn-wide {
  min-width: 220px;
}

.mt-lg {
  margin-top: 1.2rem;
}

.mb-xl {
  margin-bottom: 2rem;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-tight {
  padding: var(--space-2xl) 0;
}

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

.section-dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
}

.split-copy h2,
.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.split-copy h2,
.section-head h2 {
  font-size: var(--text-4xl);
  margin-bottom: 1.1rem;
}

.split-copy p + p {
  margin-top: 1rem;
}

.split-copy p,
.prose p {
  color: var(--color-muted);
}

.section-dark .split-copy p,
.section-dark .prose p {
  color: rgba(255, 255, 255, 0.72);
}

.media-frame {
  overflow: hidden;
  background: var(--color-ink-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.media-wide img {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
}

.stat-card,
.glow-card {
  background: #161616;
  color: var(--color-white);
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 180%;
  background: linear-gradient(115deg, transparent 40%, rgba(43, 90, 237, 0.55), transparent 62%);
  transform: rotate(18deg);
  pointer-events: none;
}

.stat-grid {
  display: grid;
  gap: 1rem;
}

.stat-card strong,
.glow-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.3rem;
}

.stat-card span,
.glow-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-sm);
}

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

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

.life-card,
.news-card {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
}

.life-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.life-card h3,
.news-card h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.35rem;
  line-height: 1.4;
}

.life-card p,
.news-card p,
.meta {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.life-card a,
.news-card a {
  color: var(--color-accent);
  display: inline-block;
  margin-top: 0.55rem;
}

.life-card a:hover,
.news-card a:hover {
  text-decoration: underline;
}

.life-card .card-body,
.news-card .card-body {
  padding: 0 0 0.5rem;
}

.listing {
  display: grid;
  gap: 0;
}

.listing a {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-top: 1px solid var(--color-line-light);
  color: var(--color-white);
}

.listing a:hover {
  opacity: 0.86;
}

.listing img {
  width: 88px;
  height: 64px;
  object-fit: cover;
}

.listing h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.listing p {
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
}

.listing span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

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

.gallery figure:nth-child(1),
.gallery figure:nth-child(6) {
  grid-column: span 2;
}

.gallery figure:nth-child(1) img,
.gallery figure:nth-child(6) img {
  height: 280px;
}

.cta-band {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  margin: 0.4rem 0 1rem;
}

.cta-band p {
  color: var(--color-muted);
  max-width: 36rem;
  margin: 0 auto 1.6rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.form {
  display: grid;
  gap: 1rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--text-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  padding: 0.85rem 0.9rem;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.4em;
  font-size: var(--text-sm);
}

.form-status.is-ok {
  color: #1b6b3a;
}

.form-status.is-error {
  color: #b42318;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.info-panel a {
  color: var(--color-accent);
}

.map-placeholder {
  min-height: 360px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
}

.map-placeholder iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 3.5rem 0 3.2rem;
  background-color: var(--color-ink);
  background-image: url("../assets/images/webimg008.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.78), rgba(10, 10, 12, 0.28));
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero h1 {
  font-size: var(--text-hero);
  max-width: 14ch;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin: 1.6rem 0 0.7rem;
}

.prose p + p {
  margin-top: 1rem;
}

.logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.logo-row img {
  width: 100%;
  background: var(--color-white);
  padding: 1rem;
  object-fit: contain;
  min-height: 120px;
}

@media (max-width: 1000px) {
  .split,
  .contact-layout,
  .card-grid,
  .card-grid-4,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure:nth-child(1),
  .gallery figure:nth-child(6) {
    grid-column: span 1;
  }

  .gallery figure:nth-child(1) img,
  .gallery figure:nth-child(6) img,
  .gallery img {
    height: 200px;
  }
}

@media (max-width: 700px) {
  .split,
  .contact-layout,
  .card-grid,
  .card-grid-4,
  .form-row,
  .gallery,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .listing a {
    grid-template-columns: 72px 1fr;
  }

  .listing span {
    display: none;
  }
}
