/* Shared visual system; original, complete Linux Biolinum O Regular. */
@font-face {
  font-family: "Linux Biolinum O";
  src: url("assets/fonts/linux-biolinum-regular-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --background: #f6f2ed;
  --text: #211d1a;
  --muted: #645d57;
  --accent: #6c1420;
  --border: #d2cbc3;
  --font: "Linux Biolinum O", sans-serif;
  --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 5.6vw, 96px);
  --page-width: 1600px;
  --section-space: clamp(72px, 8vw, 128px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--background);
  color: var(--text);
  font: 400 20px/1.6 var(--font);
}
main,
section,
aside,
div {
  min-width: 0;
}
main:focus {
  outline: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}
a {
  color: inherit;
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--accent);
}
button,
input {
  font: inherit;
}
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  display: block;
}
[hidden] {
  display: none !important;
}
[id] {
  scroll-margin-top: 32px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #e8d9d7;
  color: var(--text);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--background);
}
.skip-link:focus {
  top: 12px;
}
/* Normal-flow navigation prevents anchor targets from being covered. */
.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--page-width);
  min-height: 108px;
  margin-inline: auto;
  padding: 24px var(--gutter);
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.brand-prefix {
  font-size: 0.55em;
  letter-spacing: 0.06em;
}
.brand-surname {
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 22px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover {
  text-decoration: underline;
}
.nav-whatsapp {
  display: none;
}
.hamburger {
  display: none;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--text);
}
.hamburger span {
  width: 26px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.18s,
    opacity 0.18s;
}
.hamburger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.section-label,
.detail-label,
.detail-content-label {
  font: 400 12px/1.6 var(--ui-font);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin-block: 22px 28px;
  font-size: clamp(40px, 4.2vw, 64px);
}
.section-divider {
  max-width: calc(var(--page-width) - 2 * var(--gutter));
  height: 1px;
  margin-inline: var(--gutter);
  background: var(--border);
}
.ui-arrow,
.topic-search-results a::after {
  --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--arrow-icon) center/contain no-repeat;
  mask: var(--arrow-icon) center/contain no-repeat;
}
.site-footer {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 42px var(--gutter) 32px;
  border-top: 1px solid var(--border);
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-top {
  margin-bottom: 28px;
}
.footer-brand {
  font-size: 28px;
  line-height: 1.3;
}
.footer-copy {
  font: 400 12px/1.8 var(--ui-font);
  color: var(--muted);
}
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 18px;
  text-decoration: none;
}
.whatsapp-float svg {
  width: 19px;
  height: 19px;
}
.whatsapp-float:hover {
  text-decoration: underline;
}
@media (min-width: 1600px) {
  .section-divider {
    margin-inline: auto;
  }
}
@media (max-width: 1100px) {
  .site-nav {
    gap: 24px;
  }
  .nav-links {
    gap: 24px;
  }
  .nav-links a {
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .site-nav {
    flex-wrap: wrap;
    min-height: 90px;
    padding-block: 20px;
    gap: 0 16px;
  }
  .nav-brand {
    font-size: 27px;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 18px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    min-height: 56px;
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 24px;
  }
  .site-nav {
    padding-block: 17px;
    min-height: 88px;
  }
  .nav-brand {
    font-size: 24px;
    gap: 7px;
  }
  .brand-surname {
    display: block;
  }
  .nav-brand .brand-prefix {
    align-self: flex-start;
    padding-top: 5px;
  }
  .nav-links a {
    font-size: 23px;
  }
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .footer-top {
    margin-bottom: 22px;
  }
  .footer-brand {
    font-size: 26px;
  }
  .footer-brand .brand-surname {
    display: inline;
  }
  .site-footer {
    padding-block: 30px;
  }
}
@media (max-width: 359px) {
  :root {
    --gutter: 20px;
  }
  .nav-brand {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
