/* Tessol VAL site shell — /val */
.site-val {
  --val-bg: #f7f4ef;
  --val-surface: #fffcf7;
  --val-ink: #1c1915;
  --val-muted: #6b6358;
  --val-accent: #8b3a2a;
  --val-accent-soft: #c4a484;
  --val-line: #e4d9c8;
  --val-header-h: 76px;
  margin: 0;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(196, 164, 132, 0.18) 0%, transparent 42%),
    linear-gradient(180deg, #f0ebe3 0%, var(--val-bg) 35%);
  color: var(--val-ink);
  font-family: "Source Sans 3", "Spoqa Han Sans Neo", sans-serif;
}

.site-val__wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-val .skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--val-accent);
  color: #fff;
}
.site-val .skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.val-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--val-line);
}

.val-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: var(--val-header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.val-header__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--val-ink);
  flex-shrink: 0;
}

.val-header__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--val-accent);
  text-transform: uppercase;
}

.val-header__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.val-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
}

.val-header__nav a {
  color: var(--val-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.val-header__nav a:hover {
  color: var(--val-accent);
}

.val-header__aside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.val-header__ghost {
  color: var(--val-muted);
  text-decoration: none;
  font-size: 13px;
}

.val-header__solid {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--val-accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.val-header__solid:hover {
  background: #6e2d21;
}

#content[data-layout="val"] {
  flex: 1;
}

.site-val .page-val {
  padding: 64px 0 88px;
}

.site-val .page-stub__inner {
  max-width: 680px;
}

.site-val .page-stub__title {
  margin: 0 0 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--val-ink);
  line-height: 1.15;
}

.site-val .page-stub__desc {
  margin: 0 0 32px;
  color: var(--val-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.site-val .page-stub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-val .page-stub__btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--val-line);
  border-radius: 999px;
  background: var(--val-surface);
  color: var(--val-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-val .page-stub__btn--primary {
  border-color: var(--val-ink);
  background: var(--val-ink);
  color: #fff;
}

.val-footer {
  margin-top: auto;
  border-top: 1px solid var(--val-line);
  background: #221e1a;
  color: #d5cbbd;
  padding: 40px 28px 28px;
}

.val-footer__grid {
  max-width: 1080px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.val-footer__name {
  margin: 0 0 6px;
  font-family: "Source Serif 4", Georgia, serif;
  color: #fff;
  font-size: 18px;
}

.val-footer__tag {
  margin: 0;
  font-size: 13px;
  opacity: 0.75;
}

.val-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.val-footer__nav a {
  color: #b8aa97;
  text-decoration: none;
  font-size: 13px;
}

.val-footer__nav a:hover {
  color: #fff;
}

.val-footer__legal {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .val-header__nav {
    display: none;
  }
  .val-header__ghost {
    display: none;
  }
}
