:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5d6778;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9dee8;
  --navy: #15395f;
  --green: #466b54;
  --copper: #93613d;
  --accent: #f1c45d;
  --shadow: 0 18px 45px rgba(22, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 13px;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand-link small {
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  color: var(--copper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96), rgba(251, 250, 247, 0.82)),
    url("https://butterandburlap.com/img/rustic-cookie-kitchen.png") center right / cover no-repeat;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}

.identity-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.identity-panel h2 {
  font-size: 22px;
}

dl {
  margin: 0;
}

dl div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.section {
  padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.sms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.sms-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8edf1;
}

.service-content {
  padding: 22px;
}

.service-content p,
.sms-grid p {
  color: var(--muted);
}

.service-content ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-content li a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 800;
  background: #fbfcfd;
}

.sms-section {
  background: #eef4f1;
  border-block: 1px solid #ccd9d2;
}

.sms-grid article {
  padding: 22px;
}

.sms-grid article:first-child {
  border-top: 5px solid var(--navy);
}

.sms-grid article:last-child {
  border-top: 5px solid var(--green);
}

.sms-disclosure {
  margin: 22px 0 0;
  max-width: 980px;
  color: var(--ink);
  font-weight: 700;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: white;
}

.contact-band .eyebrow {
  color: var(--accent);
}

.contact-band h2 {
  margin-bottom: 0;
}

address {
  font-style: normal;
  font-weight: 700;
}

.contact-band a {
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.legal-page {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.legal-document {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-document h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.legal-document h2 {
  margin-top: 30px;
  font-size: 24px;
}

.legal-document li + li {
  margin-top: 8px;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .service-grid,
  .sms-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.88)),
      url("https://butterandburlap.com/img/rustic-cookie-kitchen.png") center / cover no-repeat;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-link {
    align-items: flex-start;
  }

  .brand-link strong {
    font-size: 15px;
  }

  h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }

  .legal-document {
    padding: 22px;
  }
}
