:root {
  --bg: #fcfcfb;
  --surface: #ffffff;
  --surface-soft: #f6f6f4;
  --text: #1d1d1f;
  --muted: #6a6a6f;
  --line: #e6e6e2;
  --accent: #c59f2d;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.04);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__title {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand__title span { color: var(--accent); }
.brand__tag { font-size: 12px; color: var(--muted); }

.desktop-nav,
.desktop-nav__list {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}

.search-button,
.mobile-icon {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
}

.search-button {
  padding: 10px 14px;
  font-size: 13px;
}

.mobile-actions { display: none; gap: 8px; }
.mobile-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 46px 0 24px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 24px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-search,
.post-card {
  padding: 16px;
}

.search-field,
.search-form input[type="search"] {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.search-form label { display: block; }
.search-form .search-submit { display: none; }

.hero-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: #333;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
  margin-top: 24px;
}

.quick-links a {
  display: block;
  text-align: center;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  font-size: 13px;
}

.section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p,
.meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #efefef, #dcdcdc);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.footer {
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .post-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .header-actions { display: none; }
  .mobile-actions { display: flex; }
  .brand__title { font-size: 25px; }
  .brand__tag { display: none; }
  .hero h1 { max-width: none; }
  .hero p { font-size: 16px; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .brand__title { font-size: 23px; }
  .section { padding: 28px 0; }
  .post-card h3 { font-size: 18px; }
}