html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-bg {
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(63, 122, 77, 0.12), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(122, 86, 56, 0.10), transparent 55%),
    #f4efe6;
}

.och-surface {
  background: #fffaf2;
  border: 1px solid rgba(43, 36, 28, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(31, 58, 42, 0.12);
}

.och-card {
  background: white;
  border: 1px solid rgba(43, 36, 28, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(31, 58, 42, 0.08);
  padding: 1.25rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.och-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(31, 58, 42, 0.12);
  border-color: rgba(63, 122, 77, 0.22);
}

.och-logoBox {
  width: 2.625rem;
  height: 2.625rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #1f3a2a, #3f7a4d);
  box-shadow: 0 10px 18px rgba(31, 58, 42, 0.2);
  color: #f3e2b8;
  flex-shrink: 0;
}

.och-footerLogo {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #1f3a2a, #3f7a4d);
  color: #f3e2b8;
  flex-shrink: 0;
}

.och-navLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #1f3a2a;
  font-weight: 650;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.och-navLink::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.38rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7a5638, #3f7a4d);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.och-navLink:hover,
.och-navLink.is-active {
  background: rgba(63, 122, 77, 0.1);
  border-color: rgba(63, 122, 77, 0.18);
  transform: translateY(-1px);
}

.och-navLink:hover::after,
.och-navLink.is-active::after {
  transform: scaleX(1);
}

.och-mobileLink {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(63, 122, 77, 0.08);
  color: #1f3a2a;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.och-mobileLink:hover,
.och-mobileLink.is-active {
  background: rgba(63, 122, 77, 0.16);
}

.och-menuButton {
  border: 1px solid rgba(43, 36, 28, 0.14);
  background: rgba(255, 255, 255, 0.6);
  color: #1f3a2a;
  border-radius: 0.75rem;
  padding: 0.55rem 0.8rem;
  font-size: 1.15rem;
}

.och-btn-primary,
.och-btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.9rem;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.och-btn-primary {
  background: linear-gradient(135deg, #1f3a2a, #3f7a4d);
  color: #fffaf2;
  box-shadow: 0 10px 20px rgba(31, 58, 42, 0.18);
}

.och-btn-primary:hover {
  transform: translateY(-1px);
}

.och-btn-secondary {
  background: transparent;
  color: #5a3b24;
  border: 1px solid rgba(90, 59, 36, 0.25);
}

.och-btn-secondary:hover {
  background: rgba(122, 86, 56, 0.08);
}

.och-input {
  width: 100%;
  background: white;
  border: 1px solid rgba(43, 36, 28, 0.16);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  color: #2b241c;
  outline: none;
}

.och-input:focus {
  border-color: rgba(63, 122, 77, 0.5);
  box-shadow: 0 0 0 3px rgba(63, 122, 77, 0.15);
}

.och-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(63, 122, 77, 0.12);
  color: #1f3a2a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.och-avatar {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(63, 122, 77, 0.16), rgba(122, 86, 56, 0.14));
  color: #1f3a2a;
  font-weight: 800;
  flex-shrink: 0;
}

.och-empty {
  background: white;
  border-radius: 1rem;
  border: 1px solid rgba(43, 36, 28, 0.1);
  box-shadow: 0 10px 30px rgba(31, 58, 42, 0.08);
  padding: 2rem;
  text-align: center;
  color: #6b5b4b;
}

@media (orientation: landscape) and (max-height: 700px) {
  .och-surface,
  .och-card {
    border-radius: 0.9rem;
  }

  .och-card {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .och-logoBox {
    width: 2.35rem;
    height: 2.35rem;
  }
}

.och-textLink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #2f5a3d;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.och-textLink::after {
  content: "↗";
  font-size: 0.95rem;
}

.och-textLink:hover {
  color: #5a3b24;
  transform: translateX(1px);
}

.och-musicLink {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid rgba(43, 36, 28, 0.12);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: #1f3a2a;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.och-musicLink:hover,
.och-musicLink.is-active {
  background: rgba(63, 122, 77, 0.08);
  border-color: rgba(63, 122, 77, 0.28);
  transform: translateY(-1px);
}

.pdf-viewer-shell {
  background: white;
  border: 1px solid rgba(43, 36, 28, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 58, 42, 0.08);
}

.pdf-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(43, 36, 28, 0.08);
  background: #fffaf2;
}

.pdf-frame {
  width: 100%;
  height: 75vh;
  min-height: 28rem;
  border: 0;
  background: white;
}

@media (max-width: 640px) {
  .pdf-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-frame {
    height: 65vh;
    min-height: 22rem;
  }
}

.homepage-hero-imageWrap {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(43, 36, 28, 0.12);
  box-shadow: 0 18px 40px rgba(31, 58, 42, 0.12);
  background: linear-gradient(to bottom, rgba(255, 250, 242, 0.92), rgba(244, 239, 230, 0.92));
  min-height: 20rem;
}

.homepage-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  max-height: 34rem;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .homepage-hero-imageWrap,
  .homepage-hero-image {
    min-height: 18rem;
  }
}

@media (max-width: 640px) {
  .homepage-hero-imageWrap,
  .homepage-hero-image {
    min-height: 15rem;
    max-height: 22rem;
  }
}