:root {
  --bg: #f4efe6;
  --bg-soft: #e8e0d3;
  --surface: rgba(249, 245, 238, 0.72);
  --surface-strong: rgba(255, 250, 243, 0.88);
  --line: rgba(77, 82, 63, 0.16);
  --text: #213127;
  --muted: #637061;
  --accent: #6f8a5f;
  --accent-deep: #41523e;
  --shadow: 0 28px 60px rgba(41, 54, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(183, 205, 168, 0.46), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(250, 235, 209, 0.8), transparent 25%),
    linear-gradient(180deg, #efe7db 0%, #f6f1e9 45%, #ece5d7 100%);
  font-family: "Avenir Next", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(73, 91, 71, 0.02) 48px,
      rgba(73, 91, 71, 0.02) 49px
    );
  pointer-events: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
}

.hero,
.gallery,
.archive,
.philosophy {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 69vh;
  padding: 28px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(160deg, rgba(255, 248, 243, 0.5), rgba(227, 233, 230, 0.4)),
    linear-gradient(180deg, rgba(20, 26, 38, 0.3), rgba(244, 239, 230, 0.12)),
    url("./images/sky-evening.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -4% -18% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 159, 117, 0.28), rgba(136, 159, 117, 0));
  filter: blur(8px);
}

.site-nav {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  z-index: 2;
}

.brand-mark,
.eyebrow,
.walk-photo span,
.card-index {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.brand-mark,
.eyebrow,
.nav-links a,
.walk-photo span,
.card-index {
  font-size: 0.76rem;
}

.brand-mark,
.eyebrow,
.nav-links a,
.walk-photo span {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
}

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

.share-button {
  border: 1px solid rgba(79, 97, 71, 0.28);
  background: rgba(255, 252, 246, 0.78);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.share-button:hover {
  background: rgba(245, 238, 226, 0.92);
}

.hero .brand-mark,
.hero .eyebrow,
.hero .nav-links a,
.hero .share-button {
  color: rgba(255, 247, 241, 0.84);
  text-shadow: 0 8px 20px rgba(17, 19, 27, 0.22);
}

.hero .share-button {
  border-color: rgba(255, 247, 241, 0.42);
  background: rgba(34, 37, 49, 0.22);
}

.hero-copy {
  max-width: 44rem;
  padding: 20px 10px 28px 6px;
  animation: rise 1s ease forwards;
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "YuMincho", serif;
  font-weight: 400;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  margin-top: 12px;
  color: #fff7f1;
  text-shadow: 0 14px 34px rgba(17, 19, 27, 0.3);
}

.lead,
.section-lead,
.note-card p,
.philosophy p {
  font-size: 1rem;
  color: var(--text);
}

.lead {
  max-width: 34rem;
  margin-top: 24px;
  color: rgba(255, 247, 241, 0.86);
  text-shadow: 0 10px 26px rgba(17, 19, 27, 0.28);
}

.walk-photo::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(17, 19, 27, 0.36), rgba(17, 19, 27, 0.06) 55%),
    linear-gradient(180deg, rgba(17, 19, 27, 0.14), rgba(17, 19, 27, 0.22));
}

.walk-photo::before {
  background: linear-gradient(180deg, rgba(10, 13, 11, 0.06), rgba(10, 13, 11, 0.28));
  z-index: -1;
}

.gallery,
.archive,
.philosophy {
  margin-top: 28px;
  padding: 36px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  margin-top: 10px;
}

.section-lead {
  max-width: 40rem;
  margin: 18px 0 0;
  color: rgba(33, 49, 39, 0.82);
}

.note-card h3 {
  margin: 10px 0 8px;
  font-size: 1.32rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "YuMincho", serif;
  font-weight: 400;
}

.walk-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-auto-rows: 250px;
  gap: 18px;
}

.walk-photo {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 18px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(79, 97, 71, 0.12);
  color: #f8f5ee;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  isolation: isolate;
}

.walk-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.walk-photo span {
  color: rgba(250, 246, 239, 0.9);
  text-shadow: 0 6px 18px rgba(13, 16, 18, 0.3);
}

.walk-photo-main {
  grid-row: span 2;
}

.archive-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.archive-card.is-hidden {
  display: none;
}

.archive-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(79, 97, 71, 0.14);
  background: rgba(255, 252, 246, 0.72);
}

.archive-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.archive-card figcaption {
  padding: 10px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.archive-toggle {
  margin-top: 18px;
  border: 1px solid rgba(79, 97, 71, 0.24);
  background: rgba(255, 252, 246, 0.9);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.archive-toggle:hover {
  background: rgba(244, 238, 227, 0.95);
}

.philosophy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: end;
}

.philosophy-notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 6px;
}

.note-card {
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.84), rgba(232, 237, 224, 0.54));
  border: 1px solid rgba(76, 88, 70, 0.08);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .walk-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .philosophy-notes {
    grid-template-columns: 1fr;
  }

  .walk-photo-main {
    grid-row: span 1;
  }

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

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    margin: 10px auto;
  }

  .hero,
  .gallery,
  .archive,
  .philosophy {
    padding: 22px;
  }

  .site-nav,
  .nav-links {
    display: grid;
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}
