/* Hugent — shared design tokens, header, footer */

:root {
  --cream: #f3f0ea;
  --cream-soft: #eae7de;
  --cream-card: #e9e6dd;
  --paper: #ffffff;
  --ink: #141414;
  --ink-card: #1a1a1a;
  --ink-soft: #232323;
  --muted: #6d6a63;
  --muted-on-dark: #a6a49e;
  --teal: #46b8a6;
  --line: rgba(20, 20, 20, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1160px;
  --font: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--teal {
  color: var(--teal);
}

.arrow {
  font-size: 0.85em;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 10px 18px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--sm {
  padding: 8px 15px;
  font-size: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.link-arrow:hover {
  border-color: currentColor;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 240, 234, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 54px;
  gap: 30px;
}

.brand {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #33312d;
  padding: 6px 0;
}

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

.nav__caret {
  width: 9px;
  height: 9px;
  transition: transform 0.18s ease;
}

.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 208px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  list-style: none;
  margin: 0;
}

.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: #3a3833;
}

.nav__menu a:hover,
.nav__menu a[aria-current="page"] {
  background: var(--cream-soft);
  color: var(--ink);
}

.header-cta {
  margin-left: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand {
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  color: #4c4a45;
  margin-bottom: 4px;
}

.footer-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-list a {
  font-size: 13.5px;
  color: #56534e;
}

.footer-list a:hover,
.footer-list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  color: #56534e;
  transition: color 0.18s ease;
}

.socials a:hover {
  color: var(--ink);
}

.socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 54px;
  font-size: 11.5px;
  color: #7d7a74;
}

/* ---------- Simple stub pages ---------- */

.stub {
  padding: 110px 0 40px;
  max-width: 720px;
}

.stub h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 18px;
}

.stub p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 26px;
}

.badge-draft {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .site-footer {
    margin-top: 64px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
  }
}
