/*
Theme Name:   BASE365
Theme URI:    https://base365-life.com
Author:       Entrypoint
Author URI:   https://base365-life.com
Description:  BASE365 — 暮らしと家と、旅のある日々。ブルックリン×西海岸テイストのライフスタイルブログテーマ。
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  base365
Tags:         blog, custom-header, custom-menu, featured-images, responsive-layout, translation-ready
*/

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --off-white:   #FDFAF6;
  --beige:       #F5F0E8;
  --sand:        #E8DFD0;
  --terra:       #B87355;
  --terra-light: #D4A882;
  --terra-pale:  #EDD9C8;
  --charcoal:    #2C2C2C;
  --warm-gray:   #8B8680;
  --warm-dark:   #3A3228;
  --line:        rgba(44,44,44,.09);

  --serif-en:  'DM Serif Display', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --serif-jp:  'Noto Serif JP', 'Times New Roman', serif;
  --sans-jp:   'Noto Sans JP', sans-serif;

  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.76,0,.24,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans-jp);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.022'/%3E%3C/svg%3E");
}

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

/* ── Selection & Scrollbar ──────────────────────────────── */
::selection { background: var(--terra-pale); color: var(--warm-dark); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--terra-light); border-radius: 3px; }

/* ── Utility ────────────────────────────────────────────── */
.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
}
.label--light { color: rgba(253,250,246,.65); }
.label--gray  { color: var(--warm-gray); }

.rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: .5;
}

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════════════ */
/* HEADER                                                   */
/* ════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  transition: background .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(253,250,246,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.site-logo {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 20px;
  letter-spacing: .05em;
  color: #fff;
  transition: color .3s;
}
.site-logo span { color: var(--terra-light); }
.site-header.scrolled .site-logo { color: var(--charcoal); }

.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .25s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--terra-light);
  transition: width .3s var(--ease-out);
}
.site-nav a:hover::after,
.site-nav .current-menu-item a::after { width: 100%; }
.site-nav a:hover { color: #fff; }
.site-header.scrolled .site-nav a { color: var(--warm-gray); }
.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .site-nav .current-menu-item a { color: var(--charcoal); }

.header-end {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-icon {
  color: rgba(255,255,255,.7);
  transition: color .25s;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.header-icon:hover { color: #fff; }
.site-header.scrolled .header-icon { color: var(--warm-gray); }
.site-header.scrolled .header-icon:hover { color: var(--charcoal); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: rgba(255,255,255,.8);
  transition: background .3s;
}
.site-header.scrolled .hamburger span { background: var(--charcoal); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--warm-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 300;
  color: rgba(253,250,246,.8);
  letter-spacing: .12em;
  transition: color .25s;
}
.mobile-nav a:hover { color: var(--terra-light); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: rgba(253,250,246,.6);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ════════════════════════════════════════════════════════ */
/* HERO                                                     */
/* ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: kenBurns 16s ease-out forwards;
  transform-origin: center 40%;
}
/* Fallback gradient when no image */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, #C9A882 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, #8B7355 0%, transparent 50%),
    linear-gradient(160deg, #3A2E22 0%, #5C4A35 35%, #7A6248 60%, #4A3828 100%);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,22,14,.18) 0%,
    rgba(30,22,14,.0) 35%,
    rgba(20,15,10,.72) 100%
  );
}
@keyframes kenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 88px;
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  animation: heroRise .9s var(--ease-out) .3s both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-text { flex: 1; max-width: 580px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  animation: heroRise .8s var(--ease-out) .15s both;
}
.hero-eyebrow-line {
  width: 36px; height: 1px;
  background: rgba(212,168,130,.6);
}
.hero-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.35;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(253,250,246,.65);
  letter-spacing: .04em;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(253,250,246,.8);
  transition: color .25s, gap .3s var(--ease-out);
}
.hero-cta:hover { color: #fff; gap: 18px; }

.hero-brand-ghost {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: rgba(253,250,246,.07);
  letter-spacing: -.01em;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
  animation: heroRise .9s var(--ease-out) .45s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: heroRise .8s var(--ease-out) .6s both;
}
.hero-scroll-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(253,250,246,.45);
}
.scroll-line {
  width: 1px; height: 52px;
  background: rgba(253,250,246,.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: rgba(253,250,246,.65);
  animation: scrollDrop 1.8s var(--ease-in-out) infinite;
}
@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ════════════════════════════════════════════════════════ */
/* CONCEPT STRIP                                            */
/* ════════════════════════════════════════════════════════ */
.concept-strip {
  background: var(--warm-dark);
  padding: 18px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.strip-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  flex-shrink: 0;
}
.strip-item span {
  font-family: var(--serif-jp);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .14em;
  color: rgba(253,250,246,.5);
}
.strip-item strong {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  color: var(--terra-light);
  font-weight: 400;
}
.strip-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--terra);
  opacity: .6;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════ */
/* SECTION WRAPPER                                          */
/* ════════════════════════════════════════════════════════ */
.section {
  padding: 96px 60px;
}
.section--beige { background: var(--beige); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--charcoal); }
.section--flush { padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--charcoal);
}
.section-title--light { color: var(--off-white); }
.section-subtitle {
  font-family: var(--serif-jp);
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-gray);
  letter-spacing: .08em;
  margin-top: 6px;
}
.section-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s var(--ease-out);
}
.section-link:hover { gap: 14px; }

/* ════════════════════════════════════════════════════════ */
/* CATEGORY CARDS                                           */
/* ════════════════════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.cat-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.cat-bg {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease-out);
}
.cat-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cat-card:hover .cat-bg { transform: scale(1.04); }
.cat-bg--home {
  background:
    radial-gradient(ellipse at 40% 50%, #C8A98A 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, #A07850 0%, transparent 50%),
    linear-gradient(145deg, #6B5240 0%, #9B7A5A 40%, #C4A882 70%, #8B6848 100%);
}
.cat-bg--outdoor {
  background:
    radial-gradient(ellipse at 60% 40%, #8B9E7A 0%, transparent 55%),
    linear-gradient(135deg, #3A4A30 0%, #5C6E48 35%, #7A8E62 60%, #4A5A38 100%);
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,14,8,.78) 0%,
    rgba(20,14,8,.28) 45%,
    rgba(20,14,8,.08) 100%
  );
}
.cat-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 44px;
}
.cat-number {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  color: rgba(253,250,246,.08);
  line-height: 1;
  margin-bottom: -8px;
  display: block;
  transition: color .4s;
}
.cat-card:hover .cat-number { color: rgba(184,115,85,.15); }
.cat-label { margin-bottom: 10px; }
.cat-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.cat-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  color: rgba(253,250,246,.55);
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease-out);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════ */
/* POSTS GRID                                               */
/* ════════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.post-card {
  cursor: pointer;
  transition: transform .4s var(--ease-out);
  display: block;
}
.post-card:hover { transform: translateY(-4px); }
.post-thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: var(--sand);
}
.post-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0);
  transition: background .35s;
}
.post-card:hover .post-thumb::after { background: rgba(44,44,44,.06); }
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb .wp-post-image {
  width: 100%; height: 100%;
  object-fit: cover;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.post-cat {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
  background: var(--terra-pale);
  padding: 3px 9px;
  border-radius: 2px;
}
.post-date {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--warm-gray);
}
.post-title {
  font-family: var(--serif-jp);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--charcoal);
  margin-bottom: 10px;
  transition: color .25s;
}
.post-card:hover .post-title { color: var(--terra); }
.post-excerpt {
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--warm-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured post */
.post-card--featured { grid-row: span 2; }
.post-card--featured .post-thumb {
  aspect-ratio: unset;
  height: 380px;
}
.post-card--featured .post-title { font-size: 18px; }

/* ════════════════════════════════════════════════════════ */
/* BRAND STORY                                              */
/* ════════════════════════════════════════════════════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.story-body {
  font-family: var(--sans-jp);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--warm-gray);
  margin-bottom: 32px;
}
.story-body p + p { margin-top: 16px; }
.story-sig {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
  color: var(--terra);
  letter-spacing: .03em;
  margin-bottom: 28px;
}
.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--terra);
  padding-bottom: 2px;
  transition: color .25s, gap .3s var(--ease-out);
}
.story-cta:hover { color: var(--terra); gap: 18px; }

.story-visual { position: relative; }
.story-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background:
    radial-gradient(ellipse at 35% 55%, #C9A882 0%, transparent 55%),
    linear-gradient(155deg, #4A3828 0%, #6B5240 40%, #9A7A5A 70%, #5A4030 100%);
  position: relative;
  z-index: 1;
}
.story-img-main img { width: 100%; height: 100%; object-fit: cover; }
.story-img-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 55%; aspect-ratio: 1/1;
  background:
    radial-gradient(ellipse at 50% 60%, #8B9E7A 0%, transparent 60%),
    linear-gradient(135deg, #3A4A30 0%, #5C6E48 60%, #7A8E62 100%);
  z-index: 0;
  border: 6px solid var(--beige);
}
.story-number {
  position: absolute;
  top: -20px; left: -20px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 120px;
  font-weight: 400;
  line-height: 1;
  color: rgba(184,115,85,.08);
  z-index: 2;
  user-select: none;
}

/* ════════════════════════════════════════════════════════ */
/* INSTAGRAM STRIP                                          */
/* ════════════════════════════════════════════════════════ */
.insta-section { padding: 80px 60px; }
.insta-header { text-align: center; margin-bottom: 40px; }
.insta-handle {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--charcoal);
  margin-bottom: 8px;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-bottom: 40px;
}
.insta-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0);
  transition: background .3s;
}
.insta-item:hover::after { background: rgba(184,115,85,.25); }
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.insta-item:hover img { transform: scale(1.06); }
.insta-cta-wrap { text-align: center; }
.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--terra);
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s, gap .3s var(--ease-out);
}
.btn-follow:hover { background: var(--warm-dark); gap: 14px; color: #fff; }

/* ════════════════════════════════════════════════════════ */
/* BANNER STRIP                                             */
/* ════════════════════════════════════════════════════════ */
.banner-strip {
  background: var(--terra);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.banner-text {
  font-family: var(--serif-jp);
  font-size: 14px;
  font-weight: 300;
  color: rgba(253,250,246,.85);
  letter-spacing: .08em;
}
.banner-link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color .25s;
  flex-shrink: 0;
}
.banner-link:hover { border-color: #fff; }

/* ════════════════════════════════════════════════════════ */
/* FOOTER                                                   */
/* ════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--warm-dark);
  padding: 72px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(253,250,246,.08);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 28px;
  color: rgba(253,250,246,.85);
  letter-spacing: .04em;
}
.footer-logo span { color: var(--terra-light); }
.footer-tagline {
  font-family: var(--serif-jp);
  font-size: 11px;
  font-weight: 300;
  color: rgba(253,250,246,.35);
  letter-spacing: .12em;
  margin-top: 6px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding-top: 8px; }
.footer-nav a {
  font-family: var(--sans-jp);
  font-size: 12px;
  font-weight: 300;
  color: rgba(253,250,246,.45);
  letter-spacing: .06em;
  transition: color .25s;
}
.footer-nav a:hover { color: rgba(253,250,246,.85); }
.footer-social { display: flex; gap: 16px; align-items: center; padding-top: 8px; }
.social-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(253,250,246,.15);
  color: rgba(253,250,246,.45);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: border-color .25s, color .25s, background .25s;
  cursor: pointer;
}
.social-btn:hover {
  border-color: var(--terra-light);
  color: var(--terra-light);
  background: rgba(184,115,85,.08);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(253,250,246,.25);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: var(--sans-jp);
  font-size: 10px;
  color: rgba(253,250,246,.25);
  transition: color .25s;
}
.footer-links a:hover { color: rgba(253,250,246,.55); }

/* ════════════════════════════════════════════════════════ */
/* SINGLE POST / PAGE                                       */
/* ════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,22,14,.2) 0%, rgba(20,15,10,.65) 100%);
}
.page-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 60px;
}
.page-hero-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 44px);
  color: #fff;
  line-height: 1.4;
  letter-spacing: .06em;
}

.post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px;
}
.post-header { margin-bottom: 48px; }
.post-header .post-meta { margin-bottom: 16px; }
.post-header .post-title {
  font-family: var(--serif-jp);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.post-content {
  font-family: var(--sans-jp);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--charcoal);
}
.post-content h2 {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .05em;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--terra);
}
.post-content h3 {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .04em;
  margin: 32px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content img {
  width: 100%;
  height: auto;
  margin: 32px 0;
}
.post-content a { color: var(--terra); border-bottom: 1px solid var(--terra-pale); }
.post-content ul, .post-content ol {
  margin: 16px 0 16px 24px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }

/* Affiliate product block */
.product-block {
  border: 1px solid var(--sand);
  padding: 24px;
  margin: 32px 0;
  background: var(--beige);
}
.product-block-title {
  font-family: var(--serif-jp);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.product-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.product-link--amazon { background: #FF9900; color: #fff; }
.product-link--rakuten { background: #BF0000; color: #fff; }
.product-link--yahoo { background: #FF0033; color: #fff; }
.product-link:hover { opacity: .85; color: #fff; }

/* Related posts */
.related-posts { border-top: 1px solid var(--line); padding-top: 48px; margin-top: 48px; }
.related-posts h3 {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ════════════════════════════════════════════════════════ */
/* ARCHIVE PAGE                                             */
/* ════════════════════════════════════════════════════════ */
.archive-header {
  padding: 100px 60px 60px;
  border-bottom: 1px solid var(--line);
}
.archive-header-img {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  margin-bottom: 40px;
  margin-left: -60px;
  margin-right: -60px;
  width: calc(100% + 120px);
}
.archive-header-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.archive-label { margin-bottom: 12px; }
.archive-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .06em;
  color: var(--charcoal);
}
.archive-body { padding: 72px 60px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 28px;
}

/* ════════════════════════════════════════════════════════ */
/* SIDEBAR                                                  */
/* ════════════════════════════════════════════════════════ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 72px 60px;
}
.sidebar { }
.widget {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.widget:last-child { border-bottom: none; }
.widget-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--terra-pale);
}
.widget ul { list-style: none; }
.widget ul li {
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 300;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--warm-gray);
  cursor: pointer;
  transition: color .25s;
}
.widget ul li:hover { color: var(--terra); }
.widget ul li a { transition: color .25s; }
.widget ul li a:hover { color: var(--terra); }

/* ════════════════════════════════════════════════════════ */
/* PAGINATION                                               */
/* ════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 0;
}
.page-numbers {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--warm-gray);
  transition: all .25s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

/* ════════════════════════════════════════════════════════ */
/* SEARCH                                                   */
/* ════════════════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 0;
}
.search-field {
  flex: 1;
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 300;
  padding: 10px 16px;
  border: 1px solid var(--sand);
  background: var(--off-white);
  outline: none;
  color: var(--charcoal);
  transition: border-color .25s;
}
.search-field:focus { border-color: var(--terra); }
.search-submit {
  padding: 10px 20px;
  background: var(--terra);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.search-submit:hover { background: var(--warm-dark); }

/* ════════════════════════════════════════════════════════ */
/* PROFILE PAGE                                             */
/* ════════════════════════════════════════════════════════ */
.profile-section {
  padding: 96px 60px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.profile-img {
  width: 100%;
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 40% 35%, #C9A882 0%, transparent 55%),
    linear-gradient(155deg, #4A3828 0%, #6B5240 40%, #9A7A5A 100%);
  object-fit: cover;
}
.profile-name {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 36px;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.profile-role {
  font-family: var(--serif-jp);
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-gray);
  letter-spacing: .1em;
  margin-bottom: 32px;
}
.profile-bio {
  font-family: var(--sans-jp);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--warm-gray);
}
.profile-bio p + p { margin-top: 16px; }

/* ════════════════════════════════════════════════════════ */
/* RESPONSIVE                                               */
/* ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 72px 40px; }
  .site-header { padding: 0 32px; }
  .hero-content { padding: 0 40px 72px; }
  .story-grid { gap: 48px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .post-card--featured { grid-row: span 1; }
  .post-card--featured .post-thumb { height: auto; aspect-ratio: 3/2; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-logo-block { grid-column: 1 / -1; }
  .content-with-sidebar { grid-template-columns: 1fr; padding: 56px 40px; }
  .archive-body { padding: 56px 40px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 280px 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; height: 60px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 24px 64px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-brand-ghost { display: none; }
  .section { padding: 56px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .category-grid { grid-template-columns: 1fr; gap: 3px; }
  .cat-card { height: 380px; }
  .cat-content { padding: 32px 24px; }
  .posts-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-img-accent { display: none; }
  .insta-section { padding: 56px 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .banner-strip { padding: 20px; flex-direction: column; text-align: center; }
  .site-footer { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .archive-header { padding: 80px 20px 40px; }
  .archive-body { padding: 40px 20px; }
  .archive-grid { grid-template-columns: 1fr; }
  .post-container { padding: 48px 20px; }
  .page-hero-content { padding: 28px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .content-with-sidebar { padding: 40px 20px; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-section { padding: 56px 20px; }
}

@media (max-width: 480px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
