:root {
  --ink: #243127;
  --green: #315f4b;
  --cream: #f6f2e8;
  --paper: #fffdfa;
  --line: #d9d8ce;
  --rust: #a34e37;
  --blue: #436375;
  --gold: #b8863b;
  --rose: #c78373;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(180deg, #fffdfa 0, #f7f1e6 44%, #eef3ee 100%);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100% - 1120px) / 2));
  background: rgba(255, 253, 250, .94);
  border-bottom: 1px solid var(--line);
}

.brand {
  font: bold 1.25rem Georgia, serif;
  color: var(--green);
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .18em;
}

main {
  max-width: 1120px;
  margin: auto;
  padding: 0 1.25rem;
}

footer {
  display: flex;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  text-align: center;
  padding: 3rem 1rem;
  color: #657065;
}

h1, h2, h3 {
  font-family: Georgia, serif;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  margin: .25rem 0;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.55rem; margin: .2rem 0 .55rem; }

.button {
  display: inline-block;
  border: 0;
  border-radius: .5rem;
  background: var(--green);
  color: white;
  padding: .7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}

.button.secondary { background: #69766d; }
.button:hover { filter: brightness(.96); }

.eyebrow {
  margin: 0 0 .65rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 0 3rem;
}

.home-lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 43rem;
  color: #4e5d54;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.front-porch {
  position: relative;
  min-height: 420px;
}

.porch-roof, .porch-door, .porch-note {
  position: absolute;
  display: block;
  box-shadow: 0 18px 35px rgba(36, 49, 39, .13);
}

.porch-roof {
  left: 7%;
  right: 4%;
  top: 16px;
  height: 34px;
  background: #6d8276;
  border-radius: .5rem .5rem .1rem .1rem;
  transform: skewX(-12deg);
}

.porch-door {
  bottom: 34px;
  border: 1px solid rgba(36, 49, 39, .12);
  border-radius: .55rem .55rem .25rem .25rem;
}

.main-door {
  left: 18%;
  width: 36%;
  height: 285px;
  background: linear-gradient(180deg, #fcfbf7, #ece2cd);
  border-top: 12px solid var(--gold);
}

.side-door {
  right: 8%;
  width: 31%;
  height: 235px;
  background: linear-gradient(180deg, #eaf1ed, #cfded6);
  border-top: 12px solid var(--blue);
}

.porch-door:before {
  content: "";
  position: absolute;
  inset: 24px 22px;
  border: 2px solid rgba(36, 49, 39, .15);
  border-radius: .35rem;
}

.porch-door:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.porch-note {
  left: 0;
  bottom: 0;
  background: #fff7dc;
  border: 1px solid #e0ca89;
  color: #526052;
  padding: 1.1rem 1.25rem;
  border-radius: .45rem;
  font: 700 1.08rem/1.55 Georgia, serif;
  transform: rotate(-3deg);
}

.home-section {
  padding: 3.75rem 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.project-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-door {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .6rem;
  padding: 1.2rem;
  box-shadow: 0 12px 26px rgba(36, 49, 39, .07);
}

.project-door.active-door {
  grid-column: 1 / -1;
  grid-template-columns: 170px minmax(0, 1fr);
  border-left: 8px solid var(--gold);
}

.project-label {
  margin: 0 0 .25rem;
  color: #8f5b3c;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.door-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: .55rem;
  background: #eef3ee;
  overflow: hidden;
}

.door-art span {
  width: 62%;
  height: 78%;
  border-radius: .4rem .4rem .2rem .2rem;
  background: #6d8276;
  position: relative;
}

.door-art span:after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: #f4d28e;
  border-radius: 50%;
}

.puzzle-door .door-art { background: #fff3df; }
.puzzle-door .door-art span { background: linear-gradient(135deg, var(--rose) 0 34%, var(--paper) 34% 42%, var(--blue) 42% 100%); }
.recipe-door .door-art { background: #fff0dc; }
.recipe-door .door-art span { background: #b95f4b; }
.stories-door .door-art { background: #eef1ea; }
.stories-door .door-art span { background: #617b68; }
.travel-door .door-art { background: #eaf2f4; }
.travel-door .door-art span { background: var(--blue); }

.content-page {
  padding: 4rem 0;
}

.content-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .6rem;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 12px 26px rgba(36, 49, 39, .07);
}

.soon-badge {
  display: inline-block;
  margin: 1rem 0 1.25rem;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: #526052;
  font-weight: 800;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.simple-card {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: .5rem;
  padding: 1rem;
}

@media (max-width: 860px) {
  .project-doors,
  .project-door,
  .project-door.active-door,
  .home-hero,
  .simple-grid {
    grid-template-columns: 1fr;
  }

  .project-door.active-door {
    border-left: 1px solid var(--line);
    border-top: 8px solid var(--gold);
  }

  .front-porch { min-height: 320px; }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav { font-size: .92rem; }

  .home-hero {
    min-height: auto;
    padding: 3rem 0 2rem;
    gap: 1.5rem;
  }

  .home-actions .button {
    width: 100%;
    text-align: center;
  }

  .door-art { max-width: 118px; }
}
