/*
Theme Name: N Love Realty
Author: Brokerage Core
Description: WordPress theme for N Love Realty.
Version: 1.4.2
*/

@font-face {
  font-family: "NLove Playfair";
  src: url("assets/PlayfairDisplay[wght].ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "NLove Playfair";
  src: url("assets/PlayfairDisplay-Italic[wght].ttf") format("truetype");
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "NLove Inter";
  src: url("assets/Inter[opsz,wght].ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --forest: #1f5132;
  --mid-green: #3e8e5a;
  --sage: #a8c566;
  --moss: #6b7556;
  --cream: #f5f1e8;
  --paper: #faf8f2;
  --white: #ffffff;
  --charcoal: #3e3a2e;
  --clay: #b15a45;
  --line: rgba(62, 58, 46, 0.16);
  --shadow: 0 20px 70px rgba(31, 81, 50, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "NLove Inter", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--forest);
  text-decoration-color: rgba(62, 142, 90, 0.45);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--clay);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  font-family: "NLove Playfair", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.35rem, 8vw, 7.1rem);
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  line-height: 1.15;
}

p,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.nl-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(31, 81, 50, 0.12);
  background: rgba(250, 248, 242, 0.95);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(174px, 18vw, 254px);
}

.site-brand img,
.footer-brand img {
  width: 100%;
}

.primary-nav {
  min-width: 0;
  max-width: 100%;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  color: rgba(62, 58, 46, 0.84);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 7px 12px;
  text-decoration: none;
}

.primary-nav a:hover {
  background: rgba(168, 197, 102, 0.22);
  color: var(--forest);
}

.header-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(177, 90, 69, 0.32);
  border-radius: 999px;
  background: rgba(177, 90, 69, 0.08);
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 7px 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header-cta,
.nl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.site-header-cta:hover,
.nl-button:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
}

.nl-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(660px, 86vh, 820px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98) 0%, rgba(245, 241, 232, 0.88) 48%, rgba(245, 241, 232, 0.28) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.nl-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--forest), var(--sage), var(--clay));
  content: "";
}

.nl-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 112px;
}

.nl-eyebrow {
  margin: 0 0 18px;
  color: var(--mid-green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nl-lede {
  max-width: 660px;
  margin-top: 24px;
  color: #4f4a3c;
  font-size: clamp(1.12rem, 1.75vw, 1.36rem);
  line-height: 1.55;
}

.nl-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.nl-button-secondary {
  border-color: rgba(31, 81, 50, 0.32);
  background: rgba(255, 255, 255, 0.76);
  color: var(--forest);
}

.nl-button-secondary:hover {
  border-color: var(--forest);
  background: var(--white);
  color: var(--forest);
}

.nl-button-light {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--forest);
}

.nl-section,
.nl-band {
  padding: clamp(72px, 9vw, 124px) 0;
}

.nl-band-light {
  background:
    linear-gradient(90deg, rgba(31, 81, 50, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(31, 81, 50, 0.05) 0 1px, transparent 1px 100%),
    var(--cream);
  background-size: 72px 72px;
}

.nl-band-forest {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.84);
}

.nl-band-forest h2,
.nl-band-forest .nl-eyebrow {
  color: var(--white);
}

.nl-band-forest .nl-eyebrow {
  color: var(--sage);
}

.nl-intro-grid,
.nl-subhero-grid,
.nl-two-column,
.nl-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.nl-intro-grid p,
.nl-subhero-grid > p,
.nl-two-column div p,
.nl-cta p {
  color: #514d40;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
}

.nl-band-forest .nl-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.nl-section-heading {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.nl-card-grid {
  display: grid;
  gap: 18px;
}

.nl-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nl-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nl-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 8px 28px rgba(31, 81, 50, 0.07);
}

.nl-card h3 {
  margin-bottom: 14px;
}

.nl-card p {
  color: #5a5548;
}

.nl-card a,
.nl-text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--forest);
  font-weight: 850;
}

.nl-card-number {
  display: block;
  margin-bottom: 20px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.nl-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.nl-copy-block > p,
.nl-prose p {
  color: #555044;
  font-size: 1.04rem;
}

.nl-copy-block h2 + p,
.nl-section-heading h2 + p,
.nl-cta h2 + p,
.nl-prose h2 + p {
  margin-top: clamp(22px, 2.5vw, 30px);
}

.nl-copy-block p + p,
.nl-prose p + p,
.nl-prose p + h2 {
  margin-top: 18px;
}

.nl-image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.nl-image-frame img {
  width: 100%;
  height: min(62vw, 620px);
  min-height: 420px;
  object-fit: cover;
}

.nl-image-frame-contain {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.nl-image-frame-contain img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.nl-check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.nl-check-list li {
  position: relative;
  padding-left: 30px;
  color: #514d40;
}

.nl-check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 3px rgba(31, 81, 50, 0.16);
  content: "";
}

.nl-quote-panel {
  border-left: 8px solid var(--sage);
  background: var(--forest);
  color: var(--white);
  padding: clamp(34px, 6vw, 72px);
}

.nl-quote-panel p {
  max-width: 920px;
  color: var(--white);
  font-family: "NLove Playfair", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
}

.nl-subhero {
  padding: clamp(100px, 13vw, 164px) 0 clamp(66px, 9vw, 112px);
  background:
    linear-gradient(90deg, rgba(31, 81, 50, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(31, 81, 50, 0.05) 0 1px, transparent 1px 100%),
    var(--cream);
  background-size: 72px 72px;
}

.nl-subhero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.nl-subhero-photo {
  min-height: 580px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(31, 81, 50, 0.88) 0%, rgba(31, 81, 50, 0.68) 42%, rgba(31, 81, 50, 0.1) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.nl-subhero-photo .nl-container {
  padding-top: clamp(70px, 8vw, 116px);
}

.nl-subhero-photo h1,
.nl-subhero-photo .nl-eyebrow {
  color: var(--white);
}

.nl-subhero-photo .nl-eyebrow {
  color: var(--sage);
}

.nl-subhero-photo .nl-lede {
  color: rgba(255, 255, 255, 0.88);
}

.nl-process-list {
  display: grid;
  gap: 16px;
}

.nl-process-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.nl-process-list span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sage);
  font-weight: 850;
}

.nl-process-list p {
  color: #565044;
}

.nl-mini-list,
.nl-link-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.nl-mini-list a,
.nl-link-list a {
  display: block;
  border-bottom: 1px solid rgba(31, 81, 50, 0.18);
  color: var(--forest);
  font-weight: 850;
  padding: 14px 0;
  text-decoration: none;
}

.nl-feature-panel,
.nl-contact-panel {
  border-radius: var(--radius);
  background: var(--forest);
  color: rgba(255, 255, 255, 0.84);
  padding: clamp(28px, 4vw, 48px);
}

.nl-feature-panel h3,
.nl-contact-panel h2,
.nl-feature-panel .nl-eyebrow {
  color: var(--white);
}

.nl-feature-panel .nl-eyebrow {
  color: var(--sage);
}

.nl-feature-panel p,
.nl-contact-panel p,
.nl-feature-panel li {
  color: rgba(255, 255, 255, 0.84);
}

.nl-feature-panel .nl-check-list li::before {
  background: var(--sage);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.nl-feature-panel .nl-button {
  margin-top: 26px;
  border-color: var(--sage);
  background: var(--sage);
  color: var(--forest);
}

.nl-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: stretch;
}

.nl-contact-panel {
  background: var(--cream);
  color: var(--charcoal);
}

.nl-contact-panel h2 {
  color: var(--forest);
}

.nl-contact-panel p {
  color: #555044;
}

.nl-contact-large {
  margin: 24px 0 22px;
  font-family: "NLove Playfair", Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
}

.nl-contact-large a {
  color: var(--forest);
  text-decoration: none;
}

.nl-contact-form-section {
  border-top: 1px solid rgba(31, 81, 50, 0.12);
}

.nl-contact-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.nl-contact-form-copy {
  padding-top: 18px;
}

.nl-contact-form-copy h2 {
  max-width: 480px;
  font-size: 3rem;
  line-height: 1.05;
}

.nl-contact-form-copy > p:not(.nl-eyebrow) {
  max-width: 480px;
  margin-top: 24px;
  color: #514d40;
  font-size: 1.08rem;
}

.nl-contact-promise {
  display: grid;
  gap: 5px;
  max-width: 480px;
  margin-top: 34px;
  border-left: 5px solid var(--sage);
  padding: 4px 0 4px 18px;
}

.nl-contact-promise strong {
  color: var(--forest);
  font-family: "NLove Playfair", Georgia, serif;
  font-size: 1.2rem;
}

.nl-contact-promise span {
  color: #625d4f;
  font-size: 0.92rem;
}

.nl-contact-form-panel {
  min-width: 0;
  border: 1px solid rgba(31, 81, 50, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 16px 48px rgba(31, 81, 50, 0.1);
}

.nl-contact-form-panel .brokerage-core-lead-form,
.nl-contact-form-panel .brokerage-core-form {
  width: 100%;
  min-width: 0;
}

.nl-contact-form-panel .brokerage-core-lead-form__status,
.nl-contact-form-panel .brokerage-core-lead-form__fallback {
  margin: 0;
  color: #625d4f;
  font-size: 0.92rem;
}

.nl-contact-form-panel .brokerage-core-form {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: var(--charcoal);
  font: inherit;
}

.nl-contact-form-panel .brokerage-core-form *,
.nl-contact-form-panel .brokerage-core-form *::before,
.nl-contact-form-panel .brokerage-core-form *::after {
  box-sizing: border-box;
}

.nl-contact-form-panel .brokerage-core-form [hidden] {
  display: none !important;
}

.nl-contact-form-panel .brokerage-core-form__header {
  display: grid;
  gap: 8px;
}

.nl-contact-form-panel .brokerage-core-form__title {
  margin: 0;
  color: var(--forest);
  font-family: "NLove Playfair", Georgia, serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.12;
}

.nl-contact-form-panel .brokerage-core-form__description {
  margin: 0;
  color: #625d4f;
  font-size: 0.98rem;
  line-height: 1.6;
}

.nl-contact-form-panel .brokerage-core-form__field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.nl-contact-form-panel .brokerage-core-form__label {
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.4;
}

.nl-contact-form-panel .brokerage-core-form__control:not(.brokerage-core-form__control--choice) {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid rgba(62, 58, 46, 0.24);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--charcoal);
  background: var(--paper);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
  outline: none;
}

.nl-contact-form-panel textarea.brokerage-core-form__control {
  min-height: 150px;
  resize: vertical;
}

.nl-contact-form-panel .brokerage-core-form__control:focus-visible {
  border-color: var(--mid-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(62, 142, 90, 0.16);
}

.nl-contact-form-panel .brokerage-core-form__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nl-contact-form-panel .brokerage-core-form__option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(62, 58, 46, 0.2);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: #514d40;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}

.nl-contact-form-panel .brokerage-core-form__option--consent {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.nl-contact-form-panel .brokerage-core-form__control--choice {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.nl-contact-form-panel .brokerage-core-form__field[aria-invalid="true"] .brokerage-core-form__option {
  border-color: var(--clay);
}

.nl-contact-form-panel .brokerage-core-form__optional {
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 600;
}

.nl-contact-form-panel .brokerage-core-form__legal,
.nl-contact-form-panel .brokerage-core-form__status {
  margin: 0;
  color: #6a6456;
  font-size: 0.76rem;
  line-height: 1.5;
}

.nl-contact-form-panel .brokerage-core-form__legal--indented {
  padding-left: 27px;
}

.nl-contact-form-panel .brokerage-core-form__legal a {
  color: var(--forest);
  font-weight: 750;
  text-underline-offset: 0.16em;
}

.nl-contact-form-panel .brokerage-core-form__status {
  min-height: 20px;
  font-size: 0.86rem;
}

.nl-contact-form-panel .brokerage-core-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--white);
  background: var(--forest);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.nl-contact-form-panel .brokerage-core-form__submit:hover {
  border-color: var(--clay);
  background: var(--clay);
}

.nl-contact-form-panel .brokerage-core-form__submit:focus-visible {
  outline: 3px solid rgba(62, 142, 90, 0.24);
  outline-offset: 3px;
}

@media (min-width: 821px) {
  .nl-contact-form-panel .brokerage-core-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nl-contact-form-panel .brokerage-core-form > * {
    grid-column: 1 / -1;
  }

  .nl-contact-form-panel .brokerage-core-form__field:has(> [name="firstName"]),
  .nl-contact-form-panel .brokerage-core-form__field:has(> [name="lastName"]),
  .nl-contact-form-panel .brokerage-core-form__field:has(> [name="email"]),
  .nl-contact-form-panel .brokerage-core-form__field:has(> [name="phone"]) {
    grid-column: auto;
  }
}

.nl-contact-alert {
  margin-bottom: 22px;
  border-left: 5px solid var(--mid-green);
  padding: 13px 15px;
  color: var(--forest);
  background: rgba(168, 197, 102, 0.18);
  font-weight: 750;
}

.nl-contact-alert-error {
  border-left-color: var(--clay);
  color: #76392d;
  background: rgba(177, 90, 69, 0.1);
}

.nl-contact-form,
.nl-contact-fields {
  display: grid;
  gap: 18px;
}

.nl-contact-fields {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nl-contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.nl-contact-field > span,
.nl-contact-method legend {
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 800;
}

.nl-contact-field b,
.nl-contact-method b {
  color: var(--clay);
}

.nl-contact-field small {
  margin-left: 4px;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 650;
}

.nl-contact-field input,
.nl-contact-field select,
.nl-contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid rgba(62, 58, 46, 0.24);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--charcoal);
  background: var(--paper);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0;
  outline: none;
}

.nl-contact-field textarea {
  min-height: 164px;
  resize: vertical;
}

.nl-contact-field input:focus,
.nl-contact-field select:focus,
.nl-contact-field textarea:focus {
  border-color: var(--mid-green);
  box-shadow: 0 0 0 3px rgba(62, 142, 90, 0.16);
}

.nl-contact-field-wide {
  grid-column: 1 / -1;
}

.nl-contact-method {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.nl-contact-method legend {
  margin-bottom: 8px;
}

.nl-contact-method-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.nl-contact-method-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.nl-contact-method-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nl-contact-method-options span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid rgba(62, 58, 46, 0.2);
  border-radius: var(--radius);
  color: #5c5749;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
}

.nl-contact-method-options input:checked + span {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.nl-contact-method-options input:focus-visible + span {
  outline: 3px solid rgba(62, 142, 90, 0.22);
  outline-offset: 2px;
}

.nl-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5a5548;
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.nl-contact-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.nl-contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nl-contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(31, 81, 50, 0.12);
  padding-top: 20px;
}

.nl-contact-form-footer p {
  max-width: 430px;
  color: #6a6456;
  font-size: 0.76rem;
  line-height: 1.45;
}

.nl-contact-submit {
  flex: 0 0 auto;
  min-width: 178px;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.nl-prose {
  max-width: 820px;
}

.nl-prose h2 {
  margin-top: 36px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.nl-blog-hero {
  border-bottom: 1px solid rgba(31, 81, 50, 0.12);
  background:
    linear-gradient(90deg, rgba(31, 81, 50, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(31, 81, 50, 0.05) 0 1px, transparent 1px 100%),
    var(--cream);
  background-size: 72px 72px;
  padding: clamp(88px, 11vw, 142px) 0 clamp(62px, 8vw, 96px);
}

.nl-blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: end;
}

.nl-blog-hero h1 {
  font-size: clamp(3.5rem, 7vw, 6.4rem);
}

.nl-blog-hero-grid > p,
.nl-blog-archive-description {
  max-width: 520px;
  color: #514d40;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.65;
}

.nl-blog-archive-description p {
  margin: 0;
}

.nl-blog-index {
  padding: clamp(68px, 9vw, 116px) 0;
}

.nl-blog-index-heading {
  margin-bottom: clamp(34px, 5vw, 54px);
}

.nl-blog-index-heading h2 {
  font-size: clamp(2.35rem, 4vw, 3.6rem);
}

.nl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.nl-blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(31, 81, 50, 0.07);
}

.nl-blog-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 36 / 23;
  background: var(--cream);
}

.nl-blog-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.nl-blog-card:hover .nl-blog-card-media > img {
  transform: scale(1.025);
}

.nl-blog-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(31, 81, 50, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(31, 81, 50, 0.05) 0 1px, transparent 1px 100%),
    var(--cream);
  background-size: 36px 36px;
}

.nl-blog-card-placeholder img {
  width: clamp(54px, 7vw, 82px);
  opacity: 0.72;
}

.nl-blog-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 30px);
}

.nl-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: center;
  color: #6a6456;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.nl-blog-meta a {
  color: var(--mid-green);
  text-decoration: none;
}

.nl-blog-card h2 {
  margin-top: 17px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.13;
}

.nl-blog-card h2 a {
  color: var(--forest);
  text-decoration: none;
}

.nl-blog-card h2 a:hover {
  color: var(--clay);
}

.nl-blog-card-excerpt {
  margin-top: 15px;
  color: #5a5548;
  line-height: 1.65;
}

.nl-blog-card-excerpt p {
  margin: 0;
}

.nl-blog-card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: var(--forest);
  font-weight: 850;
  text-decoration: none;
}

.nl-blog-card-link span {
  transition: transform 160ms ease;
}

.nl-blog-card-link:hover span {
  transform: translateX(3px);
}

.nl-blog-empty {
  max-width: 760px;
  padding: clamp(34px, 6vw, 72px) 0;
}

.nl-blog-empty > img {
  width: 68px;
  margin-bottom: 28px;
}

.nl-blog-empty h2 {
  max-width: 700px;
}

.nl-blog-empty h2 + p {
  max-width: 650px;
  margin-top: 24px;
  color: #555044;
  font-size: 1.08rem;
}

.nl-blog-empty .nl-button {
  margin-top: 30px;
}

.navigation.pagination {
  margin-top: clamp(40px, 6vw, 64px);
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.navigation.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(31, 81, 50, 0.2);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--forest);
  background: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.nl-post-header {
  border-bottom: 1px solid rgba(31, 81, 50, 0.12);
  background: var(--cream);
  padding: clamp(70px, 9vw, 118px) 0 clamp(52px, 7vw, 80px);
}

.nl-post-header-inner {
  max-width: 940px;
}

.nl-post-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: clamp(38px, 5vw, 60px);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nl-post-header .nl-blog-meta {
  margin-bottom: 22px;
}

.nl-post-header h1 {
  max-width: 940px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.02;
}

.nl-post-deck {
  max-width: 760px;
  margin-top: 26px;
  color: #514d40;
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.6;
}

.nl-post-featured {
  margin-top: clamp(42px, 6vw, 72px);
}

.nl-post-featured img {
  width: 100%;
  max-height: 720px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.nl-post-featured figcaption,
.nl-post-content figcaption {
  margin-top: 10px;
  color: #6a6456;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.nl-post-content {
  max-width: 780px;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(62px, 9vw, 112px);
  color: #4f4a3c;
  font-size: 1.08rem;
  line-height: 1.78;
}

.nl-post-content > * {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.nl-post-content > *:last-child {
  margin-bottom: 0;
}

.nl-post-content h2,
.nl-post-content h3,
.nl-post-content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.62em;
  color: var(--forest);
}

.nl-post-content h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.nl-post-content h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.nl-post-content h4 {
  font-family: "NLove Inter", Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.35;
}

.nl-post-content ul,
.nl-post-content ol {
  display: grid;
  gap: 0.62em;
  padding-left: 1.4em;
}

.nl-post-content li::marker {
  color: var(--mid-green);
  font-weight: 800;
}

.nl-post-content blockquote {
  margin-right: 0;
  margin-left: 0;
  border-left: 7px solid var(--sage);
  padding: 6px 0 6px clamp(20px, 4vw, 34px);
  color: var(--forest);
  font-family: "NLove Playfair", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.nl-post-content blockquote p {
  margin: 0;
}

.nl-post-content blockquote cite {
  display: block;
  margin-top: 14px;
  color: #6a6456;
  font-family: "NLove Inter", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 750;
}

.nl-post-content img {
  border-radius: var(--radius);
}

.nl-post-content figure {
  margin-right: 0;
  margin-left: 0;
}

.nl-post-content .alignwide {
  width: min(1040px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.nl-post-content .wp-block-gallery {
  display: flex;
  gap: 12px;
}

.nl-post-content .wp-block-separator {
  width: 100%;
  margin-top: 2.8em;
  margin-bottom: 2.8em;
  border: 0;
  border-top: 1px solid var(--line);
}

.nl-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.nl-post-content th,
.nl-post-content td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.nl-post-content th {
  color: var(--forest);
  background: var(--cream);
}

.nl-post-content pre,
.nl-post-content code {
  border-radius: 4px;
  background: #ebe7dc;
}

.nl-post-content code {
  padding: 0.12em 0.35em;
  font-size: 0.9em;
}

.nl-post-content pre {
  overflow-x: auto;
  padding: 18px;
}

.nl-post-content pre code {
  padding: 0;
  background: transparent;
}

.nl-post-content .wp-block-button__link {
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
}

.nl-post-content .wp-block-button__link:hover {
  border-color: var(--clay);
  color: var(--white);
  background: var(--clay);
}

.nl-post-content .wp-block-pullquote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}

.nl-post-content .wp-block-embed {
  width: 100%;
}

.nl-post-content .wp-block-embed iframe {
  width: 100%;
  max-width: 100%;
}

.nl-post-page-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 36px;
  font-weight: 800;
}

.nl-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 780px;
  margin-top: -56px;
  padding-bottom: clamp(58px, 8vw, 92px);
  color: #625d4f;
  font-size: 0.85rem;
}

.nl-post-tags > span {
  color: var(--forest);
  font-weight: 850;
}

.nl-post-tags a {
  color: #625d4f;
}

.nl-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: clamp(34px, 5vw, 52px);
  padding-bottom: clamp(58px, 8vw, 94px);
}

.nl-post-navigation-item {
  display: grid;
  align-content: start;
  gap: 10px;
}

.nl-post-navigation-item > span {
  color: #6a6456;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nl-post-navigation-item a {
  color: var(--forest);
  font-family: "NLove Playfair", Georgia, serif;
  font-size: clamp(1.28rem, 2.3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.nl-post-navigation-next {
  text-align: right;
}

.site-footer {
  border-top: 1px solid rgba(31, 81, 50, 0.16);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.55fr));
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(50px, 7vw, 84px) 0;
}

.footer-brand img {
  width: min(300px, 80vw);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 22px;
  color: #555044;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 10px;
  color: var(--forest);
  font-family: "NLove Inter", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  color: #514d40;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact p {
  color: #5f594b;
}

.footer-phone {
  font-size: 1.2rem;
}

.footer-social {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-social h2 {
  margin: 8px 0 0;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(31, 81, 50, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--forest);
  padding: 0;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.footer-social-list a:hover {
  border-color: rgba(177, 90, 69, 0.38);
  background: rgba(177, 90, 69, 0.08);
  color: var(--clay);
  transform: translateY(-1px);
}

.footer-social-list svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-list svg rect,
.footer-social-list svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
}

.footer-social-list svg path {
  fill: currentColor;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 81, 50, 0.14);
  padding: 18px 0;
}

.footer-notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 10px;
}

.footer-notice-links a {
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration-color: rgba(31, 81, 50, 0.3);
  text-underline-offset: 0.18em;
}

.footer-bottom p {
  color: rgba(62, 58, 46, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 1050px) {
  .site-header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .primary-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .primary-nav ul {
    justify-content: flex-start;
  }

  .nl-card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nl-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    width: min(100% - 24px, 1280px);
  }

  .site-brand {
    width: min(224px, 54vw);
  }

  .header-actions {
    justify-content: flex-start;
  }

  .site-header-cta {
    min-height: 42px;
    padding: 9px 12px;
  }

  .primary-nav {
    overflow: hidden;
  }

  .primary-nav ul {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .primary-nav li {
    flex: 0 0 auto;
  }

  .nl-hero {
    align-items: center;
    min-height: auto;
    background-image:
      linear-gradient(0deg, rgba(245, 241, 232, 0.96), rgba(245, 241, 232, 0.88)),
      var(--hero-image);
  }

  .nl-hero-inner {
    padding: 88px 0 92px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.1rem);
  }

  .nl-intro-grid,
  .nl-subhero-grid,
  .nl-blog-hero-grid,
  .nl-two-column,
  .nl-cta,
  .nl-split,
  .nl-contact-grid,
  .nl-contact-form-layout {
    grid-template-columns: 1fr;
  }

  .nl-contact-form-copy {
    padding-top: 0;
  }

  .nl-contact-form-copy h2 {
    font-size: 2.5rem;
  }

  .nl-contact-form-panel .brokerage-core-form__options {
    grid-template-columns: 1fr;
  }

  .nl-card-grid.three,
  .nl-card-grid.four,
  .nl-blog-grid {
    grid-template-columns: 1fr;
  }

  .nl-process-list article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px 18px;
  }

  .nl-process-list article p {
    grid-column: 2;
  }

  .nl-subhero-photo {
    min-height: 500px;
    background-image:
      linear-gradient(0deg, rgba(31, 81, 50, 0.82), rgba(31, 81, 50, 0.42)),
      var(--hero-image);
  }

  .nl-image-frame img {
    height: auto;
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nl-container {
    width: min(100% - 28px, var(--container));
  }

  .site-header-inner {
    grid-template-columns: 1fr;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .primary-nav a {
    min-height: 36px;
    padding: 6px 10px;
  }

  .nl-section,
  .nl-band {
    padding: 58px 0;
  }

  .nl-subhero {
    padding: 78px 0 56px;
  }

  .nl-button,
  .nl-button-secondary,
  .nl-button-light {
    width: 100%;
  }

  .nl-contact-form-panel {
    padding: 22px 18px;
  }

  .nl-contact-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .nl-contact-field-wide {
    grid-column: auto;
  }

  .nl-contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nl-contact-submit {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nl-post-navigation {
    grid-template-columns: 1fr;
  }

  .nl-post-navigation-next {
    text-align: left;
  }

  .footer-notice-links {
    display: grid;
  }
}

/* Attributed Google excerpts in the existing featured quote panels. */
.nl-review-feature .nl-review-label {
  margin: 0 0 14px;
  font-family: "NLove Inter", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nl-review-stars {
  display: block;
  margin-bottom: 22px;
  color: var(--sage);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
}
.nl-review-feature blockquote {
  margin: 0;
}
.nl-review-feature blockquote p {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  line-height: 1.2;
}
.nl-review-attribution {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-size: 1rem;
  line-height: 1.5;
}
.nl-review-attribution a,
.nl-review-attribution a:visited {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nl-review-attribution a:hover,
.nl-review-attribution a:focus-visible {
  color: var(--sage);
}

