:root {
  --ivory: #F7F4EE;
  --cream: #FFFCF7;
  --charcoal: #252A28;
  --champagne: #B39A75;
  --sage: #858F83;
  --muted: #74756F;
  --line: #E3DED5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

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

a:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 100;
  padding: 12px;
  background: white;
}

.skip-link:focus {
  top: 15px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 25px 7%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Georgia, serif;
  font-size: 27px;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand span {
  color: var(--champagne);
}

.brand small {
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-left: 7px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.site-header nav a {
  font-size: 12px;
  letter-spacing: 0.7px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--charcoal);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75vh;
  min-height: 75svh;
  padding: 90px 10%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 20%,
      #E9E3D8 0%,
      transparent 43%
    ),
    var(--ivory);
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--champagne);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.13;
}

h1 {
  font-size: clamp(55px, 8vw, 110px);
  margin: 0 0 30px;
}

h2 {
  font-size: clamp(38px, 5vw, 66px);
  margin: 0 0 28px;
}

.hero-description {
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 36px;
}

.button {
  display: inline-block;
  padding: 15px 32px;
  background: var(--charcoal);
  color: white;
  font-size: 12px;
  letter-spacing: 1px;
  transition: background 0.2s ease;
}

.button:hover {
  background: #444C46;
}

.section {
  padding: 110px 10%;
  scroll-margin-top: 20px;
}

.section-content {
  max-width: 760px;
  margin: 0 auto;
}

.section-content > p:last-child {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
}

.about {
  background: var(--cream);
}

.services {
  background: var(--charcoal);
  color: var(--cream);
}

.services h2 {
  color: var(--cream);
}

.services .section-content > p:last-child {
  color: #C6C8C2;
}

.approach {
  background: var(--ivory);
}

.contact {
  background: #ECE7DE;
  text-align: center;
}

.contact .section-content > p:last-child {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 7%;
  background: var(--charcoal);
  color: #D4D4CD;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    gap: 18px;
    padding: 22px 5%;
  }

  .site-header nav {
    justify-content: center;
    gap: 14px 20px;
  }

  .hero {
    min-height: 65svh;
    padding: 80px 7%;
  }


  .section {
    padding: 75px 7%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 24px;
  }

  .site-header nav a {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(48px, 12vw, 60px);
  }

  .hero-description,
  .section-content > p:last-child {
    font-size: 15px;
  }
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Official N&B Consulting wordmark */
.site-header .brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1;
}

.site-header .brand span {
  color: #B39A75;
}

.site-header .brand small {
  margin-left: 13px;
  color: #252A28;
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.3px;
  line-height: 1;
}


/* FINAL CENTERED HERO */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-align: center;
}

.hero .eyebrow {
  text-align: center;
}

.hero-description {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* N&B Consulting contact form */

.contact-email {
  margin: 24px auto 36px;
}

.contact-email a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--champagne);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.contact-form {
  width: 100%;
  max-width: 620px;
  margin: 35px auto 0;
  padding: 40px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--charcoal);
  font: inherit;
  font-size: 15px;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

.form-privacy {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.contact-form .button {
  width: 100%;
  border: 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.contact-form .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 25px 20px;
  }
}
