/* ============================================
   Horinomise Owned Media — Design System
   Based on DESIGN.md: editorial, quiet, tactile
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Brand Core */
  --sumi: #262321;
  --moss: #5f6a58;
  --earth: #8b735c;
  --ivory: #f4efe6;
  --paper: #fbfaf7;

  /* Support */
  --text-primary: #2f2c29;
  --text-secondary: #6b645d;
  --border: #d8d0c6;
  --border-light: #ebe5db;
  --soft-section: #efe7da;
  --accent: #b88659;

  /* Layout */
  --max-w: 1200px;
  --reading-w: 760px;
  --px: clamp(20px, 4vw, 40px);

  /* Spacing rhythm */
  --hero-gap: clamp(72px, 10vw, 140px);
  --section-gap: clamp(64px, 8vw, 112px);
  --micro-1: 8px;
  --micro-2: 12px;
  --micro-3: 18px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  color: var(--sumi);
}

h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.small {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.label {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.latin-accent {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.reading-width {
  max-width: var(--reading-w);
  margin: 0 auto;
}

/* --- Section label (editorial accent) --- */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-label .label {
  white-space: nowrap;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--moss);
  color: var(--paper);
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover {
  background: #4e5949;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--earth);
  border-radius: 999px;
  padding: 13px 25px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-secondary:hover {
  background: var(--ivory);
  border-color: var(--text-secondary);
}

/* --- News Bar --- */
.news-bar {
  background: var(--sumi);
  color: var(--ivory);
  overflow: hidden;
  height: 0;
  transition: height 0.4s var(--ease);
}

.news-bar.is-visible {
  height: 56px;
}

.news-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.news-bar__label {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: rgba(244, 239, 230, 0.7);
}

.news-bar__list {
  flex: 1;
  overflow: hidden;
}

.news-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  color: inherit;
}

.news-bar__date {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: rgba(244, 239, 230, 0.55);
}

.news-bar__category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.12);
  white-space: nowrap;
}

.news-bar__title {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-bar__more {
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(244, 239, 230, 0.7);
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 32px;
  width: auto;
}

.site-logo__text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sumi);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-main a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--earth);
  transition: width 0.3s var(--ease);
}

.nav-main a:hover {
  color: var(--text-primary);
}

.nav-main a:hover::after {
  width: 100%;
}

.nav-main .btn-primary {
  padding: 10px 20px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--sumi);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero (Top) --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  overflow: hidden;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--sumi);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 35, 33, 0.06) 0%, rgba(38, 35, 33, 0.3) 100%);
  pointer-events: none;
}

.hero__media-visual {
  height: 100%;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.02);
  transition: transform 0.2s linear;
}

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

.hero__grain {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 0 28%), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 0 24%), radial-gradient(circle at 50% 80%, rgba(184, 134, 89, 0.12), transparent 0 26%);
  mix-blend-mode: screen;
  opacity: 0.65;
  animation: grainFloat 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: auto auto 12% -8%;
  width: clamp(180px, 22vw, 300px);
  height: clamp(180px, 22vw, 300px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 89, 0.14) 0%, rgba(184, 134, 89, 0) 68%);
  pointer-events: none;
}

.hero__content .label {
  margin-bottom: 24px;
}

.hero__content h1 {
  margin-bottom: 28px;
}

.hero__content .lead {
  margin-bottom: 40px;
}

.hero__motion-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 115, 92, 0.22);
}

.hero__quick-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--earth);
  position: relative;
}

.hero__quick-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: lineBreath 2.8s ease-in-out infinite;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scroll span {
  display: inline-block;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(107, 100, 93, 0.45);
  border-radius: 999px;
  position: relative;
}

.hero__scroll span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(107, 100, 93, 0.7);
  transform: translateX(-50%);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* --- Hero (Article) --- */
.hero-article {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.hero-article__meta .label {
  color: var(--moss);
}

.hero-article__meta .small {
  color: var(--text-secondary);
}

.hero-article__meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--border);
  margin-left: 16px;
  vertical-align: middle;
}

.hero-article h1 {
  margin-bottom: 24px;
}

.hero-article .lead {
  max-width: var(--reading-w);
}

.hero-article__image {
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.hero-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Article Body --- */
.article-body {
  padding: var(--section-gap) 0;
}

.article-body h2 {
  margin-top: 64px;
  margin-bottom: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

.article-body h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body p {
  margin-bottom: 28px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 28px;
  padding-left: 1.5em;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 48px 0;
  padding: 32px 36px;
  background: var(--ivory);
  border-left: 3px solid var(--earth);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-body figure {
  margin: 48px 0;
}

.article-body figure img {
  border-radius: 12px;
  width: 100%;
}

.article-body figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* --- Inline CTA (mid-article) --- */
.inline-cta {
  margin: 56px 0;
  padding: 40px;
  background: var(--ivory);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  text-align: center;
}

.inline-cta h3 {
  margin-bottom: 12px;
}

.inline-cta p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* --- Journal Cards --- */
.journal-grid {
  display: grid;
  gap: 32px;
}

.journal-grid--top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  grid-auto-flow: dense;
}

.journal-grid--top > .card--feature {
  grid-column: span 2;
  grid-row: span 2;
  align-self: start;
  height: 100%;
}

.journal-grid--list {
  display: contents;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(38, 35, 33, 0.06);
}

.card__image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.card--feature .card__image {
  aspect-ratio: 4 / 3;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: 28px 28px 32px;
}

.card__body .label {
  margin-bottom: 12px;
  color: var(--moss);
}

.card__body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card--feature .card__body h3 {
  font-size: clamp(22px, 2.2vw, 26px);
}

.card__body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card__body .small {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* --- Category Filter --- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.category-filter button {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.category-filter button:hover,
.category-filter button.is-active {
  background: var(--sumi);
  color: var(--paper);
  border-color: var(--sumi);
}

/* --- Sections --- */
.section {
  padding: var(--section-gap) 0;
}

.section--ivory {
  background: var(--ivory);
}

.section--soft {
  background: var(--soft-section);
}

.section__header {
  margin-bottom: 48px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header .lead {
  max-width: 600px;
}

/* --- Concept Block (Top page) --- */
.concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.concept-block__text h2 {
  margin-bottom: 20px;
}

.concept-block__text p {
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.concept-block__image {
  border-radius: 20px;
  overflow: hidden;
}

.concept-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* --- Stay Guide Areas --- */
.area-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--border-light);
}

.area-card:nth-child(even) {
  direction: rtl;
}

.area-card:nth-child(even) > * {
  direction: ltr;
}

.area-card__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.area-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-card__text .label {
  margin-bottom: 16px;
}

.area-card__text h3 {
  margin-bottom: 16px;
}

.area-card__text p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.area-card__text ul {
  list-style: none;
}

.area-card__text li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}

.area-card__text li:last-child {
  border-bottom: none;
}

/* --- Info Table --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 160px;
  font-weight: 500;
  color: var(--sumi);
  padding-right: 24px;
}

.info-table td {
  color: var(--text-secondary);
}

/* --- About Timeline --- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-block--reverse {
  direction: rtl;
}

.about-block--reverse > * {
  direction: ltr;
}

.about-block__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-block__text .label {
  margin-bottom: 16px;
}

.about-block__text h2 {
  margin-bottom: 20px;
}

.about-block__text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--sumi);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--earth);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.breadcrumb a {
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.4;
}

/* --- Footer --- */
.site-footer {
  background: var(--sumi);
  color: var(--ivory);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .site-logo__text {
  color: var(--ivory);
  font-size: 20px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.6);
  margin-bottom: 20px;
}

.footer-nav h4 {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(244, 239, 230, 0.7);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--ivory);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(244, 239, 230, 0.4);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(244, 239, 230, 0.5);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--ivory);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: var(--section-gap) 0;
  text-align: center;
}

/* --- Home motion details --- */
.js-ready.home-page .hero__content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroContentRise 0.8s var(--ease) forwards;
}

.js-ready.home-page .hero__content > *:nth-child(1) { animation-delay: 0.06s; }
.js-ready.home-page .hero__content > *:nth-child(2) { animation-delay: 0.14s; }
.js-ready.home-page .hero__content > *:nth-child(3) { animation-delay: 0.22s; }
.js-ready.home-page .hero__content > *:nth-child(4) { animation-delay: 0.3s; }
.js-ready.home-page .hero__content > *:nth-child(5) { animation-delay: 0.42s; }

.js-ready.home-page .hero__media img {
  animation: heroImageBreath 18s ease-in-out infinite alternate;
}

.js-ready.home-page .section.is-visible .concept-block__image {
  animation: blockFloat 6s ease-in-out infinite;
}

.js-ready.home-page .journal-grid--list .card,
.js-ready.home-page .experience-item {
  opacity: 1;
  transform: translateY(0);
}

.js-ready.home-page .section.is-visible .journal-grid--list .card,
.js-ready.home-page .section.is-visible .experience-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.4s var(--ease);
}

.js-ready.home-page .section:not(.is-visible) .journal-grid--list .card,
.js-ready.home-page .section:not(.is-visible) .experience-item {
  opacity: 0;
  transform: translateY(28px);
}

.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(1),
.js-ready.home-page .section.is-visible .experience-item:nth-child(1) { transition-delay: 0.04s; }
.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(2),
.js-ready.home-page .section.is-visible .experience-item:nth-child(2) { transition-delay: 0.12s; }
.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(3),
.js-ready.home-page .section.is-visible .experience-item:nth-child(3) { transition-delay: 0.2s; }
.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(4),
.js-ready.home-page .section.is-visible .experience-item:nth-child(4) { transition-delay: 0.28s; }
.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(5),
.js-ready.home-page .section.is-visible .experience-item:nth-child(5) { transition-delay: 0.36s; }
.js-ready.home-page .section.is-visible .journal-grid--list .card:nth-child(6),
.js-ready.home-page .section.is-visible .experience-item:nth-child(6) { transition-delay: 0.44s; }

.home-page .experience-item {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.7s var(--ease);
}

.home-page .experience-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(38, 35, 33, 0.08);
  border-color: rgba(139, 115, 92, 0.35);
}

@keyframes grainFloat {
  0% { transform: translate3d(-1%, -1%, 0) scale(1); }
  100% { transform: translate3d(1%, 2%, 0) scale(1.04); }
}

@keyframes scrollPulse {
  0% { opacity: 0; transform: translate(-50%, 0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes lineBreath {
  0%, 100% { transform: scaleX(0.35); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

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

@keyframes heroImageBreath {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.09); }
}

@keyframes blockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner .lead {
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- News list --- */
.news-list {
  max-width: var(--reading-w);
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
}

.news-item__date {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.news-item__title {
  font-size: 15px;
}

.news-item__title a:hover {
  color: var(--moss);
}

.news-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-secondary);
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Access Map placeholder --- */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* --- Experience grid --- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.experience-item {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.experience-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.experience-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.experience-item .price {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--earth);
}

/* --- Page hero (non-top) --- */
.page-hero {
  padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.page-hero .label {
  margin-bottom: 20px;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero .lead {
  max-width: 560px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    aspect-ratio: 16 / 9;
  }

  .hero__motion-meta {
    margin-top: 28px;
  }

  .journal-grid--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid--top > .card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .concept-block,
  .area-card,
  .about-block,
  .about-block--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .area-card:nth-child(even) {
    direction: ltr;
  }

  .about-block--reverse {
    direction: ltr;
  }

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

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

@media (max-width: 767px) {
  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    border-left: 1px solid var(--border-light);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 24px rgba(38, 35, 33, 0.08);
  }

  .nav-main.is-open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero__content {
    padding: 40px var(--px);
  }

  .hero__motion-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .journal-grid--top {
    grid-template-columns: 1fr;
  }

  .journal-grid--top > .card--feature {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .info-table th {
    width: 100px;
    font-size: 13px;
  }

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

  .hero-article__image {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .card__body {
    padding: 20px 20px 24px;
  }

  .inline-cta {
    padding: 28px 24px;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media-visual,
  .hero__grain,
  .concept-block__image,
  .hero__content > * {
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .news-bar.is-visible {
    height: 74px;
  }

  .news-bar__inner {
    min-height: 74px;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .news-bar__more {
    display: none;
  }
}
