.page-nav-link {
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.page-nav-link::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  background: var(--honey-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.page-nav-link:hover,
.page-nav-link:focus-visible,
.page-nav-link[aria-current="page"] {
  color: var(--ink);
}

.page-nav-link:hover::after,
.page-nav-link:focus-visible::after,
.page-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-primary-button {
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  padding: 10px 18px;
  border: 1px solid var(--honey-deep);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--honey);
  box-shadow: 0 6px 16px rgb(var(--honey-deep-rgb) / 0.28);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-primary-button:hover {
  box-shadow: 0 10px 22px rgb(var(--honey-deep-rgb) / 0.36);
  transform: translateY(-1px);
}

.page-primary-button:active {
  transform: translateY(0);
}

.page-footer {
  color: #d8cfbf;
  background: var(--ink);
  margin-top: 20px;
}

.page-footer a {
  text-decoration: none;
}

.page-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 76px) var(--footer-gutter, 24px) 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: 11px 40px;
}

.page-footer-brand {
  max-width: 30ch;
  grid-row: span 4;
}

.page-footer-brand-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  transition: opacity 0.18s ease;
}

.page-footer-brand-top:hover {
  opacity: 0.84;
}

.page-footer-brand-top:hover .page-footer-bee {
  transform: rotate(-8deg) scale(1.08);
}

.page-footer-bee {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.page-footer-name {
  color: #fffcf5;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-footer-tagline {
  margin-top: 16px;
  color: #a99e8b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-footer-column {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}

.page-footer-column h2 {
  margin: 0 0 5px;
  color: #8a7f6e;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-footer-column ul {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-footer-column li {
  display: flex;
}

.page-footer-column a:not(.page-footer-social) {
  color: #cfc6b6;
  font-size: 0.94rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color 0.18s ease;
}

.page-footer-column a:not(.page-footer-social):hover,
.page-footer-legal a:hover {
  color: var(--honey);
}

.page-footer-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--footer-gutter, 24px) 36px;
  border-top: 1px solid #322b21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #8a7f6e;
  font-size: 0.84rem;
}

.page-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-inline-start: auto;
  gap: 20px;
}

.page-footer-legal a {
  font-size: 0.84rem;
  color: #a99e8b;
  transition: color 0.18s ease;
}

.page-footer-social {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #322b21;
  border-radius: 9px;
  color: #cfc6b6;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.page-footer-social:hover {
  border-color: var(--honey);
  color: var(--ink);
  background: var(--honey);
}

@media (max-width: 860px) {
  .page-nav-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .page-nav-link::after { bottom: 4px; }
  .page-primary-button { min-height: 44px; }
}

@media (max-width: 760px) {
  .page-footer-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: 24px;
  }

  .page-footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-bottom: 13px;
  }

  .page-footer-brand-top,
  .page-footer-column a:not(.page-footer-social),
  .page-footer-legal a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
  }

  .page-footer-social { position: relative; }

  .page-footer-social::after {
    position: absolute;
    inset: -6px;
    content: "";
  }
}

@media (max-width: 360px) {
  .page-footer-inner {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    column-gap: 16px;
  }
}
