:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #1f242b;
  --muted: #5c6570;
  --line: #d8dde3;
  --grey-soft: #eef1f4;
  --blue: #3d6ea8;
  --blue-deep: #2f5685;
  --blue-soft: #e8f0f8;
  --blue-wash: #d3e0ef;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1080px, calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; margin: 0.55rem 0 0; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.15; margin: 0.3rem 0 0; }
h3 { font-size: 1.2rem; margin: 0.25rem 0 0; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 36rem; margin: 1rem 0 0; line-height: 1.6; }

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,248,250,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 42px; height: auto; display: block; }
.brand span { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
nav.links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
nav.links a {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  font-size: 0.8rem; padding: 0.5rem 0.95rem; border-radius: 999px;
  background: var(--blue); color: #fff; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); }

.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.7rem 1.15rem; font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

.hero-home {
  padding: 3.4rem 0 2.5rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center;
}
.hero-mark {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem;
  padding: 2.5rem; display: grid; place-items: center; min-height: 260px;
}
.hero-mark img { width: min(200px, 70%); height: auto; }

.doors { padding: 0.5rem 0 3.5rem; }
.doors-head { margin-bottom: 1.3rem; max-width: 36rem; }
.door-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.door {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.5rem 1.4rem 1.55rem; display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.door:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(47,90,147,0.1); }
.door img { width: 72px; height: 72px; object-fit: contain; margin: 0.15rem 0 0.25rem; }
.door p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.door .go {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-top: 0.3rem;
}

.page-hero { padding: 2.6rem 0 1.4rem; max-width: 42rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.2rem 0 1.5rem; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.85rem;
}
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.section { padding: 0.4rem 0 2.2rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1rem;
}
.section-head span { color: var(--muted); font-size: 0.85rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.1rem;
  padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.card:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(47,90,147,0.08); }
.tag {
  align-self: flex-start; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--blue-soft); border-radius: 999px; padding: 0.25rem 0.55rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; flex: 1; }
.meta { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }

.series {
  background: var(--blue-soft); border: 1px solid var(--blue-wash); border-radius: 1.25rem;
  padding: 1.5rem; margin-bottom: 2.2rem;
}
.series p { margin: 0.5rem 0 1rem; color: var(--muted); max-width: 36rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.swatch {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem; font-size: 0.85rem;
}
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }
.dot.brown { background: #c4a484; }
.dot.black { background: #2a2624; }
.dot.white { background: #f7f3ea; }
.dot.pink { background: #e8b4c4; }
.dot.purple { background: #b9a4d0; }
.dot.blue { background: #7aa0c8; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  padding: 0.5rem 0 2.5rem;
}
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.2rem;
  padding: 1.4rem 1.45rem;
}
.panel.soft { background: var(--blue-soft); border-color: var(--blue-wash); }
.panel ul { margin: 0.6rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.panel li { margin: 0.3rem 0; }

.list-block { max-width: 40rem; padding: 0 0 2rem; }
.list-block h2 { margin-top: 1.6rem; }
.list-block ul { color: var(--muted); padding-left: 1.15rem; }
.list-block li { margin: 0.35rem 0; }

.crisis {
  margin: 0 0 2.5rem; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1rem 1.2rem; background: var(--grey-soft); color: var(--muted); font-size: 0.9rem;
}
.crisis strong { color: var(--ink); }

footer {
  border-top: 1px solid var(--line); padding: 2rem 0 2.5rem;
  color: var(--muted); font-size: 0.85rem;
}
.foot-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

.mock-badge {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 50;
  background: var(--ink); color: #fff; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.45rem 0.7rem; border-radius: 999px; opacity: 0.85;
}

@media (max-width: 820px) {
  .hero-home, .door-grid, .grid, .split { grid-template-columns: 1fr; }
  nav.links { display: none; }
}


.latest-post {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  margin: 0 0 2.2rem;
  max-width: 40rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.latest-post:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(61,110,168,0.1);
}
.latest-post .meta {
  margin-top: 0.35rem;
}
.latest-post .go {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
