:root {
  --ink: #2b2318;
  --muted: #6f6254;
  --quiet: #968572;
  --paper: #f5ead8;
  --wash: #ede0ca;
  --wash-2: #e2d1b6;
  --line: #d8c3a4;
  --line-strong: #baa182;
  --accent: #8f5f3c;
  --sage: #7b8b67;
  --gold: #a67c49;
  --shadow: 0 24px 80px rgba(43, 35, 24, 0.16);
  --radius: 8px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.modal-lock {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 234, 216, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  color: #6a2f46;
  background: #f8cddc;
  font-size: 0.86rem;
  text-align: center;
}

.announcement strong {
  letter-spacing: 0.1em;
  font-weight: 850;
}

.announcement span {
  color: #7f3e57;
}

.main-nav {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
}

.main-nav--home {
  min-height: 84px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.6rem, 2vw, 2.05rem);
  font-weight: 850;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.1em;
}

.brand--logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 14%;
  background: transparent;
  flex: 0 0 auto;
}

.brand--logo span {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand--footer {
  justify-content: flex-start;
  font-size: 1.3rem;
}

.nav-actions {
  justify-content: flex-end;
  gap: 14px;
}

.search-box {
  width: min(280px, 26vw);
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  position: relative;
}

.icon-button:hover,
.icon-button.is-active {
  background: var(--wash);
}

.icon-button.small {
  width: 32px;
  height: 32px;
}

.icon-button.small svg {
  width: 17px;
  height: 17px;
}

.with-badge .badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-wide {
  width: 100%;
}

.button-compact {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
}
