:root {
  --paper: #f4f1e9;
  --ink: #1b1d18;
  --muted: #6d7068;
  --line: rgba(27, 29, 24, 0.16);
  --green: #2f4b3b;
  --orange: #d46f3b;
  --yellow: #e9b949;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 74px; padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.9); backdrop-filter: blur(14px);
}
.brand { display: flex; gap: 10px; align-items: center; font-weight: 600; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-style: italic; }
nav { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
nav a { padding: 28px 0 23px; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { color: var(--ink); border-color: var(--orange); }
.menu-button { display: none; justify-self: end; border: 0; background: transparent; }

main, footer { width: min(1280px, 92vw); margin: 0 auto; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 650px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.hero-copy { align-self: center; padding-right: 7vw; }
.eyebrow { margin: 0 0 26px; font-size: 12px; letter-spacing: .2em; color: var(--orange); }
h1 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(46px, 5.8vw, 86px); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
.hero-intro { max-width: 480px; margin: 34px 0; font-size: 18px; line-height: 1.9; color: var(--muted); }
.text-link { display: inline-flex; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.hero-art { position: relative; min-height: 500px; overflow: hidden; border-radius: 2px; background: linear-gradient(155deg, #9bb6b1 0%, #d9c7a4 45%, #8b6e4f 100%); }
.sun { position: absolute; top: 14%; right: 18%; width: 140px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 60px rgba(233,185,73,.45); }
.mountain { position: absolute; bottom: -12%; left: -10%; width: 125%; height: 62%; clip-path: polygon(0 100%, 0 72%, 20% 25%, 35% 58%, 54% 8%, 72% 53%, 88% 30%, 100% 69%, 100% 100%); }
.mountain-back { bottom: 4%; background: rgba(47,75,59,.6); filter: blur(1px); }
.mountain-front { background: #263e32; transform: scaleX(-1); }
.route { position: absolute; right: 11%; bottom: 9%; width: 44%; height: 43%; border: 2px dashed rgba(244,241,233,.75); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-18deg); }
.hero-note { position: absolute; left: 28px; bottom: 24px; color: rgba(255,255,255,.8); font-size: 11px; line-height: 1.5; letter-spacing: .1em; }

.feed-section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 42px; }
h2 { margin: 0; font: 400 clamp(40px, 4vw, 62px)/1.1 Georgia, serif; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: transparent; cursor: pointer; }
.filter:hover, .filter.active { color: var(--paper); border-color: var(--green); background: var(--green); }
.featured-card { display: grid; grid-template-columns: 1.35fr .65fr; margin-bottom: 70px; border: 1px solid var(--line); }
.featured-visual { position: relative; min-height: 420px; overflow: hidden; background: linear-gradient(145deg, #6f9187, #d4ad75 60%, #563b2e); }
.featured-visual::before { content: ""; position: absolute; inset: 15% 12% 0; background: #29473b; clip-path: polygon(0 100%, 0 65%, 17% 44%, 29% 67%, 53% 22%, 71% 61%, 86% 41%, 100% 67%, 100% 100%); }
.featured-visual span { position: absolute; left: 24px; top: 24px; color: white; font-size: 11px; letter-spacing: .16em; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 70px); background: #ece6d8; }
.post-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.post-category { color: var(--orange); font-size: 12px; letter-spacing: .12em; }
.featured-copy h3 { margin: 12px 0 20px; font: 400 clamp(30px, 3vw, 48px)/1.3 Georgia, "Noto Serif SC", serif; }
.featured-copy > p:not(.post-category) { color: var(--muted); line-height: 1.9; }
.featured-copy > a { margin-top: 22px; font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { border-top: 1px solid var(--ink); padding-top: 14px; }
.card-visual { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 20px; overflow: hidden; }
.visual-index { position: absolute; top: 16px; left: 16px; font-size: 11px; letter-spacing: .1em; }
.ai-visual { color: #e9d6b3; background: #243b32; }
.ai-visual::after { content: ""; position: absolute; width: 150px; height: 150px; right: -20px; bottom: -20px; border: 32px solid var(--orange); border-radius: 50%; }
.visual-word { position: absolute; left: 24px; bottom: 20px; font: 500 clamp(24px, 3vw, 42px)/.9 "DM Sans", sans-serif; letter-spacing: -.06em; }
.photo-visual { color: white; background: linear-gradient(165deg, #98b1ac, #dcc28e 55%, #8a6544); }
.photo-visual::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -8%; height: 50%; background: #3e5a4a; border-radius: 50% 50% 0 0; box-shadow: 0 -28px 55px rgba(255,204,111,.28); }
.visual-caption { position: absolute; right: 16px; bottom: 15px; z-index: 1; font-size: 12px; line-height: 1.5; text-align: right; }
.note-visual { display: grid; place-items: center; padding: 12%; background: #dd7643; color: #211d18; }
.note-visual blockquote { margin: 0; font: 400 clamp(21px, 2vw, 30px)/1.5 Georgia, "Noto Serif SC", serif; }
.post-card h3 { margin: 0 0 12px; font: 400 24px/1.45 Georgia, "Noto Serif SC", serif; }
.post-card h3 a:hover { color: var(--orange); }
.post-card > p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.post-card.is-hidden, .featured-card.is-hidden { display: none; }

footer { display: flex; justify-content: space-between; align-items: flex-end; padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer strong { color: var(--ink); letter-spacing: .12em; }
footer p { margin: 8px 0 0; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 4vw 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; padding: 54px 0; }
  .hero-copy { padding: 0 0 44px; }
  .hero-art { min-height: 380px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 28px; }
  .filters { justify-content: flex-start; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 330px; }
  .post-grid { grid-template-columns: 1fr; gap: 54px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page-hero { padding: 110px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.page-hero > p:last-child { max-width: 640px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.listing { padding: 70px 0 110px; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-auto-rows: 310px; gap: 16px; padding: 70px 0 110px; }
.gallery-tile { position: relative; overflow: hidden; padding: 20px; color: white; background: #29473b; }
.gallery-tile span { position: absolute; bottom: 20px; left: 20px; font-size: 13px; letter-spacing: .08em; }
.gallery-a { grid-row: span 2; background: linear-gradient(150deg, #91aaa4, #d7b17b 55%, #4b634f); }
.gallery-b { background: linear-gradient(145deg, #d26f3c, #e5be79); }
.gallery-c { background: linear-gradient(135deg, #7c8781, #d3d0c5); }
.gallery-d { grid-column: 1 / -1; background: #263d33; }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; }
.about-hero > p:last-child { margin-bottom: 12px; }
.about-note { display: flex; justify-content: space-between; gap: 40px; padding: 54px 0 110px; color: var(--muted); }
.article-page { max-width: 1040px; }
.article-header { padding: 105px 7vw 58px; text-align: center; }
.article-header h1 { max-width: 900px; margin: 0 auto; font-size: clamp(42px, 6vw, 76px); }
.article-meta { display: flex; justify-content: center; gap: 24px; margin-top: 30px; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.article-cover { position: relative; min-height: 520px; overflow: hidden; background: linear-gradient(145deg, #6f9187, #d4ad75 60%, #563b2e); }
.article-cover::before { content: ""; position: absolute; inset: 18% 8% 0; background: rgba(38,62,50,.9); clip-path: polygon(0 100%,0 65%,17% 44%,29% 67%,53% 22%,71% 61%,86% 41%,100% 67%,100% 100%); }
.article-cover > span { position: absolute; top: 24px; left: 24px; color: white; font-size: 12px; letter-spacing: .16em; }
.article-cover.ai-visual { background: #243b32; }
.article-cover.note-visual { background: #dd7643; }
.article-body { max-width: 720px; margin: 72px auto; font-family: "Noto Sans SC", sans-serif; font-size: 17px; line-height: 2; }
.article-body h2 { margin: 60px 0 20px; font: 400 34px/1.35 Georgia, "Noto Serif SC", serif; }
.article-body h3 { margin-top: 44px; font-size: 22px; }
.article-body p { margin: 0 0 26px; }
.article-body blockquote { margin: 42px 0; padding: 22px 28px; border-left: 3px solid var(--orange); background: #ece6d8; color: #46483f; }
.article-body li { margin-bottom: 8px; }
.video-frame { position: relative; aspect-ratio: 16/9; margin-top: 54px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.back-link { display: block; max-width: 720px; margin: 0 auto 110px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .page-hero { padding: 70px 0 48px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-a { grid-row: span 1; }
  .gallery-d { grid-column: auto; }
  .about-hero { grid-template-columns: 1fr; }
  .about-note { flex-direction: column; }
  .article-header { padding: 68px 0 42px; }
  .article-cover { min-height: 350px; }
  .article-body { margin: 50px auto; font-size: 16px; }
}
