* {
  box-sizing: border-box;
}

:root {
  --bg: #efe3cc;
  --paper: #f8eedf;
  --paper-deep: #e7d4b2;
  --ink: #3d2515;
  --muted: #6f5644;
  --line: #a78662;
  --rose: #b76e79;
  --gold: #b9892f;
  --blue: #557c9b;
  --shadow: 0 18px 40px rgba(61, 37, 21, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 248, 234, 0.65), transparent 0 28%),
    linear-gradient(180deg, #f1e7d6 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

.page-frame {
  width: min(980px, calc(100% - 28px));
  margin: 24px auto;
  background: var(--paper);
  border: 1px solid rgba(167, 134, 98, 0.65);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header,
.panel-section,
.site-footer,
.welcome {
  padding-left: 22px;
  padding-right: 22px;
}

.site-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: end;
  padding-top: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(167, 134, 98, 0.55);
}

.kicker,
.section-side-note,
.status,
.note-title,
.top-nav a,
.subdomain-chip {
  font-family: Verdana, Arial, sans-serif;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 2px;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
  line-height: 0.95;
}

.tagline {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  padding-bottom: 6px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(167, 134, 98, 0.55);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.88);
  padding: 7px 12px;
  font-size: 13px;
  transition: background 140ms ease, transform 140ms ease;
}

.top-nav a:hover {
  background: var(--paper-deep);
  transform: translateY(-1px);
}

.marquee-box {
  margin: 18px;
  border: 1px solid rgba(167, 134, 98, 0.55);
  border-radius: var(--radius);
  background: #fbf5ea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #e4cfaf, #d8c09a);
  border-bottom: 1px solid rgba(167, 134, 98, 0.55);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(61, 37, 21, 0.4);
  background: #f6e9d3;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 18px;
  padding: 18px 0;
}

.welcome h2,
.panel-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.note-card {
  border: 1px dashed rgba(167, 134, 98, 0.85);
  border-radius: 14px;
  background: #fff9ef;
  padding: 16px;
  align-self: start;
}

.note-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.note-card ul {
  margin: 0;
  padding-left: 18px;
}

.panel-section {
  padding-top: 8px;
  padding-bottom: 18px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.section-side-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.business-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.business-card {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(167, 134, 98, 0.6);
  border-radius: 16px;
  background: #fdf8ee;
  box-shadow: 0 10px 22px rgba(61, 37, 21, 0.08);
}

.business-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.business-meta {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 7px;
  font-size: 12px;
  font-family: Verdana, Arial, sans-serif;
  border: 1px solid currentColor;
}

.rose {
  color: #8e4953;
}

.gold {
  color: #86621d;
}

.blue {
  color: #3f617b;
}

.business-card p {
  color: var(--ink);
}

.status {
  margin-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}


.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(167, 134, 98, 0.55);
  padding-top: 16px;
  padding-bottom: 20px;
  background: rgba(234, 214, 176, 0.32);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  .section-title-row,
  .site-footer,
  .welcome-grid {
    display: block;
  }

  .top-nav {
    justify-content: start;
    margin-top: 14px;
  }

  .note-card {
    margin-top: 14px;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .section-side-note {
    margin-top: 6px;
  }
}
