:root {
  --primary-50: #faf3ee;
  --primary-100: #f2e6db;
  --primary-200: #e3cbb9;
  --primary-300: #d0ab94;
  --primary-400: #b9896e;
  --primary-500: #9e6949;
  --primary-600: #8c5737;
  --primary-700: #73452c;
  --ink: #2b2b2b;
  --body: #3f3f3f;
  --muted: #6d6d6d;
  --line: #eee4dc;
  --font-primary: "Raleway", system-ui, sans-serif;
  --font-secondary: "Crimson Pro", Georgia, serif;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  background: #fff;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

p {
  margin-top: 0;
}

a {
  color: var(--primary-700);
}

button,
.btn,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  background: var(--primary-700);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.bg-primary-50 {
  background-color: var(--primary-50) !important;
}

.bg-primary-100 {
  background-color: var(--primary-100) !important;
}

.bg-primary-300 {
  background-color: var(--primary-300) !important;
}

.text-primary-500 {
  color: var(--primary-500) !important;
}

.text-primary-600 {
  color: var(--primary-600) !important;
}

.text-primary-700 {
  color: var(--primary-700) !important;
}

.border-primary-200 {
  border-color: var(--primary-200) !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-secondary);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--primary-700);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
}

.nav-link-custom {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  background: none;
  border: 0;
  box-shadow: inset 0 -2px 0 transparent;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-700);
  box-shadow: inset 0 -2px 0 var(--primary-600);
}

.nav-cta {
  margin-left: 0.35rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  border-top: 1px solid var(--line);
  padding: 0.4rem 0 1rem;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0.1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-mobile a.active {
  color: var(--primary-700);
}

.nav-mobile .btn {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
}

.section {
  padding: 4.25rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--primary-300);
  border: 0;
  margin: 0.85rem auto 0;
}

.lead-copy {
  font-size: 1.15rem;
  color: var(--muted);
}

.glass-card {
  background: #fffdfb;
  border: 1px solid #eadfd6;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(115, 69, 44, 0.06);
  height: 100%;
}

.glass-card:hover {
  box-shadow: 0 16px 32px rgba(115, 69, 44, 0.12);
}

.icon-circle {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary-600);
  flex: 0 0 auto;
}

.icon-lg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.icon-sm {
  width: 36px;
  height: 36px;
}

.btn-pill {
  border-radius: 999px !important;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom {
  background: var(--primary-600);
  border: 1px solid var(--primary-600);
  color: #fff !important;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #fff !important;
}

.btn-line {
  background: transparent;
  border: 1px solid #cfcfcf;
  color: var(--ink) !important;
}

.btn-line:hover,
.btn-line:focus-visible {
  border-color: var(--primary-600);
  color: var(--primary-700) !important;
}

.hero-visual,
.frame-visual {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-visual {
  max-height: 560px;
}

.frame-visual {
  max-height: 420px;
}

.avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

.avatar-sm {
  width: 64px;
  height: 64px;
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.band-dark {
  background: var(--primary-700);
  color: #fff;
}

.band-dark h2,
.band-dark p {
  color: #fff;
}

.quote {
  font-size: 1rem;
}

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.legal p,
.prose p {
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal h2,
.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-family: var(--font-secondary);
  color: var(--primary-700);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.footer-heading {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-700);
}

.footer-address {
  font-style: normal;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.footer-base {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-base a {
  margin-left: 1rem;
}

.cookie-banner {
  position: fixed;
  z-index: 1080;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 1rem 1.1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  border-color: #e4d5cb;
  padding: 0.8rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 0.2rem rgba(158, 105, 73, 0.18);
}

.form-alert {
  background: #fdecea;
  color: #7a271a;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.form-success {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 1rem;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-list a:hover {
  color: var(--primary-700);
}

.label-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-600);
}

@media (min-width: 768px) {
  .bento.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .bento .span-2 {
    grid-column: span 2;
  }

  .cookie-banner {
    right: auto;
    width: min(640px, calc(100% - 2rem));
  }
}

@media (max-width: 991.98px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-shell {
    position: relative;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 6.5rem);
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
