/* ===== GP RESET — body.home ===============================================
   GeneratePress outputs body.home on the front page.
   Mirrors single-hotel.css pattern (Step 11.6).
   ========================================================================= */

body.home,
body.home #page,
body.home .site,
body.home #content,
body.home #primary {
  background: #FFFFFF !important;
}

body.home #content,
body.home #primary,
body.home .site-content,
body.home .content-area,
body.home main,
body.home .site-main,
body.home .inside-article,
body.home .entry-content {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
}

body.home .generate-page-header,
body.home .entry-header,
body.home .page-header {
  display: none !important;
}

body.home .site-footer,
body.home .footer-bar-wrap,
body.home footer.site-info,
body.home .site-info,
body.home .footer-widgets-container {
  display: none !important;
}

/* ===== DESIGN TOKENS (Direction A v6) ==================================== */
:root {
  --bg:          #FFFFFF;
  --bg-2:        #F5F5F3;
  --ink:         #0A0A0A;
  --ink-2:       #404040;
  --ink-3:       #7A7A7A;
  --line:        #9CA3A8;
  --line-soft:   #D4D8DC;
  --accent:      #1F4D5C;
  --accent-2:    #2D6B7F;
  --accent-soft: #E8EEF0;
}

body.home {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: "opsz" 14;
  overflow-x: hidden;
}
body.home *, body.home *::before, body.home *::after { box-sizing: border-box; }
body.home a   { color: inherit; text-decoration: none; }
body.home img { max-width: 100%; display: block; }

/* ===== SCROLL PROGRESS =================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== REVEAL ANIMATIONS ================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal        { opacity: 0; transform: translateY(20px); }
.reveal.in     { animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.stagger > *   { opacity: 0; transform: translateY(20px); }
.stagger.in > * { animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.stagger.in > *:nth-child(1)  { animation-delay: 0.00s; }
.stagger.in > *:nth-child(2)  { animation-delay: 0.07s; }
.stagger.in > *:nth-child(3)  { animation-delay: 0.14s; }
.stagger.in > *:nth-child(4)  { animation-delay: 0.21s; }
.stagger.in > *:nth-child(5)  { animation-delay: 0.28s; }
.stagger.in > *:nth-child(6)  { animation-delay: 0.35s; }
.stagger.in > *:nth-child(n+7){ animation-delay: 0.40s; }

/* ===== HERO =============================================================== */
.home-hero {
  padding: 88px 40px 80px;
  border-bottom: 0.5px solid var(--line-soft);
}
.home-hero__inner { max-width: 800px; }

.home-hero__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.home-hero__h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.home-hero__subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 600px;
  margin-bottom: 40px;
  font-variation-settings: "opsz" 18;
}
.home-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.home-hero__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 13px 28px;
  border: 0.5px solid var(--ink);
  display: inline-block;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.home-hero__cta--primary {
  background: var(--ink);
  color: #fff;
}
.home-hero__cta--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.home-hero__cta--secondary {
  background: transparent;
  color: var(--ink);
}
.home-hero__cta--secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== SECTION BASE ======================================================= */
.home-section {
  padding: 64px 40px;
  border-bottom: 0.5px solid var(--line-soft);
}
.home-section:last-child { border-bottom: none; }

.home-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.home-section__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.home-section__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.home-section__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}
.home-section__cta:hover { color: var(--accent-2); }

/* ===== ARTICLE CARDS ====================================================== */
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-cards--single  { grid-template-columns: 1fr; max-width: 520px; }
.article-cards--pair    { grid-template-columns: repeat(2, 1fr); }

.article-card {
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--line-soft);
  transition: border-color 0.2s;
}
.article-card:hover { border-color: var(--line); }

.article-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}
.article-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.article-card:hover .article-card__img-wrap img { transform: scale(1.03); }

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
}
.article-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.article-card__type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-card__oblast {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.article-card__oblast::before { content: '·'; margin-right: 10px; color: var(--line); }

.article-card__title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.article-card__title a { color: var(--ink); transition: color 0.15s; }
.article-card__title a:hover { color: var(--accent); }

.article-card__desc {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 18px;
}
.article-card__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.15s;
}
.article-card__cta:hover { color: var(--accent-2); }

/* ===== REGION TILES ======================================================= */
.region-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.region-tile {
  padding: 18px 20px;
  border: 0.5px solid var(--line-soft);
  display: flex;
  align-items: center;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.region-tile--active {
  cursor: pointer;
}
.region-tile--active:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.region-tile__name {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}
.region-tile--active:hover .region-tile__name { color: var(--accent); }

/* ===== HOTEL CARDS (mirrors single-article.css) =========================== */
.hotel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.hotel-card {
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--line-soft);
  background: var(--bg);
  transition: border-color 0.2s;
}
.hotel-card:hover { border-color: var(--line); }

.hotel-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}
.hotel-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hotel-card:hover .hotel-card__img-wrap img { transform: scale(1.03); }

.hotel-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}
.hotel-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.hotel-card__city::after { content: '·'; margin-left: 10px; color: var(--line); }
.hotel-card__stars  { color: var(--accent); letter-spacing: 1px; }
.hotel-card__rating { margin-left: auto; font-size: 12px; color: var(--accent); font-weight: 500; }

.hotel-card__title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hotel-card__title a { color: var(--ink); transition: color 0.15s; }
.hotel-card__title a:hover { color: var(--accent); }

.hotel-card__desc {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 20px;
  flex: 1;
}
.hotel-card__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.15s;
}
.hotel-card__cta:hover { color: var(--accent-2); }

/* ===== ABOUT ============================================================== */
.home-section--about .home-section__title { margin-bottom: 20px; }
.home-about__text {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 28px;
}
.home-about__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.home-about__links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s;
}
.home-about__links a:hover { color: var(--accent-2); }

/* ===== AD SLOTS =========================================================== */
.ua-ad-slot {
  text-align: center;
  padding: 24px 40px;
  border-bottom: 0.5px solid var(--line-soft);
}

/* ===== RESPONSIVE ========================================================= */
@media (max-width: 960px) {
  .article-cards          { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .home-hero              { padding: 56px 20px 48px; }
  .home-section           { padding: 44px 20px; }
  .article-cards,
  .article-cards--pair    { grid-template-columns: 1fr; gap: 16px; }
  .hotel-cards            { grid-template-columns: 1fr; gap: 16px; }
  .region-tiles           { grid-template-columns: repeat(2, 1fr); }
  .home-hero__h1          { font-size: 38px; }
  .home-section__header   { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ua-ad-slot             { padding: 20px; }
}
