html { scroll-behavior: smooth; }
body.legal-body {
  background: #fbf9f5;
  color: #1b1c1a;
  font-family: Manrope, sans-serif;
}
.legal-body ::selection { background: rgba(197, 160, 89, 0.22); color: #775a19; }
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}
.legal-input {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(30, 33, 38, 0.15);
  border-radius: 4px;
  padding: 0.8rem 0.9rem;
  font-size: 14px;
  color: #1b1c1a;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.legal-input:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}
.legal-card {
  background: #fff;
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 8px;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
.filter-btn.active {
  background: #c5a059;
  color: #fff;
  border-color: #c5a059;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(24, 26, 29, 0.72);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.legal-modal.open { display: flex; }
.legal-modal .modal-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.28);
}
.legal-modal img { width: 100%; max-height: 78vh; object-fit: contain; background: #1e2126; }
.legal-modal .close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
  background: #fff;
  color: #1e2126;
  border: 1px solid rgba(197, 160, 89, 0.4);
}
.prose-legal h2, .prose-legal h3 { font-family: "EB Garamond", serif; color: #1b1c1a; margin: 1.4rem 0 0.6rem; }
.prose-legal p { margin-bottom: 0.9rem; line-height: 1.7; color: #4e4639; }
.prose-legal a { color: #775a19; text-decoration: underline; text-underline-offset: 3px; }
.corp-portrait {
  margin: 0;
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 1.35rem;
  padding: 0.55rem;
  box-shadow: 0 22px 40px -28px rgba(27, 28, 26, 0.45);
}
.corp-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 1rem;
  display: block;
}
.contact-facts { display: grid; gap: 0.75rem; margin-top: 1.15rem; }
.contact-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.contact-fact .material-symbols-outlined {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #f5f3ef;
  border: 1px solid #e6e0d4;
  color: #775a19;
  font-size: 1.25rem;
}
.contact-fact h3 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #775a19;
}
.contact-fact p { margin: 0.28rem 0 0; color: #1b1c1a; font-size: 1.02rem; line-height: 1.5; }
.contact-fact a { color: #1b1c1a; text-decoration: none; }
.contact-fact a:hover { color: #775a19; }
.contact-fact .contact-aside { color: #775a19; font-size: 0.92rem; font-weight: 700; }
.contact-sent {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #775a19;
  font-size: 0.92rem;
}
.contact-form { display: grid; gap: 1rem; }
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #775a19;
}
.contact-form .legal-input {
  margin-top: 0.45rem;
  background: #fbf9f5;
  border: 1px solid #e6e0d4;
  border-radius: 0.7rem;
  font-family: Manrope, sans-serif;
  color: #1b1c1a;
}
.contact-form textarea.legal-input { resize: vertical; min-height: 8.5rem; }
.contact-errors:empty { display: none; }
.contact-errors { color: #9f2d2d; font-size: 0.875rem; }
.contact-send {
  justify-self: start;
  background: #c5a059;
  color: #1e2126;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 0.7rem;
  cursor: pointer;
}
.contact-send:hover { background: #d4b56e; }
.contact-map {
  border: 1px solid #e6e0d4;
  border-radius: 1rem;
  overflow: hidden;
  background: #f5f3ef;
  height: 28rem;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 800px) {
  .contact-map { height: 22rem; }
}
.site-logo { object-fit: contain; display: block; }
.site-logo-header { height: 3.4rem; width: auto; max-width: 8.5rem; }
.site-logo-footer { height: 8.5rem; width: auto; max-width: 13rem; }
@media (min-width: 768px) {
  .site-logo-header { height: 4.15rem; max-width: 10rem; }
}
.desk { max-width: 1120px; margin: 0 auto; padding: 3.5rem 1.25rem 4.5rem; }
.desk-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #775a19; }
.desk h1 { font-family: "EB Garamond", serif; font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.02; color: #1b1c1a; margin-top: 0.4rem; }
.desk h1 em { font-style: italic; color: #775a19; }
.desk-lead { max-width: 38rem; margin-top: 0.9rem; color: #4e4639; font-size: 1.05rem; line-height: 1.6; }
.desk-filters { display: flex; gap: 0.5rem; overflow-x: auto; padding: 1.6rem 0 0.4rem; }
.desk-filters .filter-btn {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1rem;
  border: 1px solid #e6e0d4; border-radius: 999px; background: #fff; color: #4e4639;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
}
.desk-filters .filter-btn.active { background: #c5a059; border-color: #c5a059; color: #1e2126; }
.desk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.desk-card {
  display: flex; flex-direction: column; min-height: 100%;
  background: #fff; border: 1px solid #e6e0d4; border-radius: 1.1rem;
  padding: 1.2rem 1.25rem 1rem; color: #1b1c1a; text-decoration: none;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.desk-card:hover { transform: translateY(-4px); border-color: #c5a059; box-shadow: 0 18px 36px -28px rgba(27, 28, 26, 0.45); }
.desk-card-top { display: flex; justify-content: space-between; align-items: center; }
.desk-no { font-family: "EB Garamond", serif; font-size: 2rem; line-height: 1; color: #c5a059; }
.desk-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f5f3ef; border: 1px solid #e6e0d4; color: #775a19;
}
.desk-icon-lg { width: 3.4rem; height: 3.4rem; }
.desk-icon-lg .material-symbols-outlined { font-size: 1.7rem; }
.desk-badge { align-self: flex-start; margin-top: 0.9rem; font-size: 11px; font-weight: 700; color: #775a19; border: 1px solid #e6e0d4; border-radius: 999px; padding: 0.2rem 0.55rem; }
.desk-sub { margin-top: 0.85rem; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7f7667; font-weight: 700; }
.desk-card h2 { font-family: "EB Garamond", serif; font-size: 2rem; font-weight: 500; line-height: 1.1; margin: 0.2rem 0 0.55rem; }
.desk-excerpt {
  color: #4e4639; font-size: 0.95rem; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.desk-card-foot {
  margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid #e6e0d4; font-size: 0.82rem; color: #7f7667;
}
.desk-card-foot span:last-child { color: #775a19; font-weight: 700; }
.desk-stats { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.desk-stats div { background: #fff; border: 1px solid #e6e0d4; border-radius: 1rem; padding: 1.1rem 1.2rem; }
.desk-stats p { font-family: "EB Garamond", serif; font-size: 2.4rem; color: #775a19; line-height: 1; }
.desk-stats span { display: block; margin-top: 0.35rem; color: #4e4639; font-size: 0.9rem; }
.desk-ask { margin-top: 1.6rem; background: #fff; border: 1px solid #e6e0d4; border-radius: 1.1rem; padding: 1.4rem 1.4rem 1.5rem; }
.desk-ask h2, .desk-related-title { font-family: "EB Garamond", serif; font-size: 2.2rem; font-weight: 500; }
.desk-ask form { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.8rem; align-items: end; }
.desk-ask label { display: block; font-size: 0.9rem; color: #4e4639; }
.desk-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem;
  padding: 0.55rem 1.1rem; border-radius: 0.4rem; background: #c5a059; color: #1e2126;
  font-weight: 700; text-decoration: none; border: 0;
}
.desk-btn:hover { background: #d4b56e; }
.desk-detail { padding-top: 2.5rem; }
.desk-crumb { display: flex; gap: 0.45rem; color: #7f7667; font-size: 0.9rem; margin-bottom: 1.2rem; }
.desk-crumb a { color: #775a19; text-decoration: none; }
.desk-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr); gap: 1.5rem; align-items: start; }
.desk-hero aside {
  background: #fff; border: 1px solid #e6e0d4; border-radius: 1.1rem; padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem; color: #4e4639;
}
.desk-hero aside strong { color: #1b1c1a; }
.desk-text-link { color: #775a19; font-weight: 700; font-size: 0.92rem; }
.desk-prose { max-width: 44rem; margin-top: 2rem; }
.desk-prose p { font-size: 1.06rem; line-height: 1.75; color: #4e4639; margin: 0 0 1rem; }
.desk-prose h2 { font-family: "EB Garamond", serif; font-size: 2rem; font-weight: 500; margin: 1.4rem 0 0.7rem; color: #1b1c1a; }
.desk-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.desk-topics li { background: #fff; border: 1px solid #e6e0d4; border-radius: 0.8rem; padding: 0.85rem 1rem; color: #1b1c1a; }
.desk-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.8rem; }
.desk-related a {
  display: flex; gap: 0.7rem; align-items: flex-start; text-decoration: none; color: #1b1c1a;
  background: #fff; border: 1px solid #e6e0d4; border-radius: 0.9rem; padding: 0.85rem;
}
.desk-related a:hover { border-color: #c5a059; }
.desk-related .material-symbols-outlined { color: #775a19; }
.desk-related strong, .desk-related em { display: block; }
.desk-related strong { font-family: "EB Garamond", serif; font-size: 1.25rem; font-weight: 500; }
.desk-related em { font-style: normal; color: #7f7667; font-size: 0.82rem; margin-top: 0.15rem; }
.desk-back { margin-top: 1.4rem; }
.desk-back a { color: #775a19; font-weight: 700; text-decoration: none; }
@media (max-width: 800px) {
  .desk-grid, .desk-stats, .desk-topics, .desk-related, .desk-hero, .desk-ask form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .desk-card { transition: none; }
}
.login-page .text-danger, .field-validation-error { color: #ba1a1a; font-size: 12px; }
.validation-summary-errors ul { margin: 0; padding-left: 1rem; }
