:root {
  --nh-color-primary: #6d2e46;
  --nh-color-secondary: #6b4a3a;
  --nh-color-accent: #708b75;
  --nh-color-heading: #2b2523;
  --nh-color-text: #2b2523;
  --nh-color-soft: #f4e9da;
  --nh-color-background: #faf7f2;
  --nh-color-white: #fff;
  --nh-color-on-primary: #fff;
  --nh-color-error: #c62828;
  --nh-color-success: #009d24;
  --nh-color-warning: #b26a00;
  --nh-color-disabled: #777;
  --nh-container: 1200px;
  --nh-gutter: 24px;
  --nh-radius-sm: 6px;
  --nh-radius-md: 12px;
  --nh-radius-lg: 20px;
  --nh-font-heading: "Playfair Display", serif;
  --nh-font-body: "Be Vietnam Pro", sans-serif;
  --nh-shadow-sm: 0 8px 30px color-mix(in srgb, var(--nh-color-text) 8%, transparent);
  --nh-shadow-float: 0 18px 54px color-mix(in srgb, var(--nh-color-text) 16%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--nh-color-text);
  background: var(--nh-color-background);
  font-family: var(--nh-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nh-nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--nh-color-primary); text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: var(--nh-color-secondary); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--nh-color-heading);
  font-family: var(--nh-font-heading);
  line-height: 1.25;
}
h1 { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.875rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.075rem; font-weight: 600; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--nh-color-primary) 72%, var(--nh-color-white));
  outline-offset: 3px;
}

.screen-reader-text,
.nh-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.nh-skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 8px; left: 8px;
  padding: 10px 14px;
  background: var(--nh-color-white);
  color: var(--nh-color-text);
  border-radius: var(--nh-radius-sm);
  box-shadow: var(--nh-shadow-sm);
}
.nh-container {
  width: min(calc(100% - (var(--nh-gutter) * 2)), var(--nh-container));
  margin-inline: auto;
}
.nh-site-main { min-height: 55vh; }
.nh-content-shell { padding-block: 64px; }
.nh-narrow { max-width: 860px; }
.nh-icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }

.nh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--nh-color-primary);
  border-radius: var(--nh-radius-sm);
  background: var(--nh-color-primary);
  color: var(--nh-color-on-primary);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.nh-button:hover {
  color: var(--nh-color-on-primary);
  background: var(--nh-color-secondary);
  border-color: var(--nh-color-secondary);
}
.nh-button:active { transform: translateY(1px); }
.nh-eyebrow { color: var(--nh-color-primary); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.nh-entry-header { margin-bottom: 28px; }
.nh-entry-meta { color: var(--nh-color-disabled); font-size: .875rem; }
.nh-entry-media { margin-bottom: 32px; }
.nh-entry-content > *:first-child { margin-top: 0; }
.nh-entry-content > *:last-child { margin-bottom: 0; }
.nh-archive-header { margin-bottom: 36px; }
.nh-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.nh-card { overflow: hidden; border-radius: var(--nh-radius-md); background: var(--nh-color-white); box-shadow: var(--nh-shadow-sm); }
.nh-card-media { display: block; aspect-ratio: 4/3; overflow: hidden; }
.nh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.nh-card:hover .nh-card-media img { transform: scale(1.025); }
.nh-card-body { padding: 22px; }
.nh-card-title { margin-top: 8px; font-size: 1.5rem; }
.nh-card-title a { color: inherit; text-decoration: none; }

.nonhue-elementor-page .nh-site-main { overflow: clip; }
.nonhue-elementor-page .elementor { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 1024px) {
  .nh-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  :root { --nh-gutter: 18px; }
  body { font-size: 15px; }
  .nh-content-shell { padding-block: 42px; }
  .nh-post-grid { gap: 18px; }
  .nh-card-body { padding: 16px; }
  .nh-card-title { font-size: 1.125rem; }
}
