:root {
  --paper: #fbf8f1;
  --warm: #efe7d9;
  --linen: #f7efe3;
  --ink: #1f2a23;
  --forest: #173f2d;
  --moss: #49664d;
  --sand: #c9b99d;
  --white: #fffdf8;
  --line: rgba(31, 42, 35, 0.14);
  --shadow: 0 18px 48px rgba(31, 42, 35, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: white;
  padding: 10px 14px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: #354139;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  min-height: 70vh;
}

.hero {
  background: linear-gradient(90deg, rgba(23, 63, 45, 0.90), rgba(23, 63, 45, 0.62)), url("hero-organized-kitchen.svg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 74vh;
  display: flex;
  align-items: center;
}

.hero-inner,
.section-inner,
.content-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sand);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.9rem);
  margin: 0 0 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 16px;
  color: var(--forest);
}

h3 {
  font-size: 1.45rem;
  margin: 0 0 10px;
  color: var(--forest);
}

.lead {
  font-size: 1.14rem;
  max-width: 720px;
}

.hero .lead {
  color: rgba(255, 253, 248, 0.90);
  font-size: 1.2rem;
}

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

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

.button.secondary {
  background: rgba(255, 253, 248, 0.10);
  border-color: rgba(255, 253, 248, 0.62);
  color: white;
}

.button.light {
  background: var(--white);
  color: var(--forest);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--linen);
}

.intro-grid,
.category-grid,
.article-grid,
.two-column,
.guide-grid {
  display: grid;
  gap: 24px;
}

.intro-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.category-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.two-column {
  grid-template-columns: 0.9fr 1.1fr;
}

.panel,
.card,
.note {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.card p,
.panel p,
.note p {
  margin-top: 0;
}

.card a {
  color: var(--forest);
  font-weight: 700;
}

.visual {
  min-height: 340px;
  background: url("shelf-still-life.svg") center/cover no-repeat;
  border: 1px solid var(--line);
}

.mini-visual {
  aspect-ratio: 4 / 3;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}

.mini-visual.kitchen {
  background: url("category-kitchen.svg") center/cover no-repeat;
}

.mini-visual.bath {
  background: url("category-bathroom.svg") center/cover no-repeat;
}

.mini-visual.small {
  background: url("category-small-space.svg") center/cover no-repeat;
}

.kicker {
  color: var(--moss);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.list-clean {
  padding-left: 20px;
}

.list-clean li {
  margin: 8px 0;
}

.note {
  padding: 22px;
  border-left: 4px solid var(--forest);
}

.page-hero {
  padding: 82px 0 48px;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--forest);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 0;
}

.article h2 {
  font-size: 2rem;
  margin-top: 46px;
}

.article-meta {
  color: var(--moss);
  font-weight: 700;
}

.disclosure {
  font-size: 0.95rem;
  background: var(--linen);
  border: 1px solid var(--line);
  padding: 16px;
}

.site-footer {
  background: var(--forest);
  color: rgba(255, 253, 248, 0.84);
  padding: 46px 0;
}

.footer-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.site-footer a {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    gap: 11px;
  }

  .hero {
    min-height: auto;
  }

  .intro-grid,
  .category-grid,
  .article-grid,
  .two-column,
  .guide-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}
