/* ===================================
   Carol Musyoka — Travel & Photography Blog
   Modern, dark, immersive design
   =================================== */

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

:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #111111;
  --color-bg-card: #161616;
  --color-text: #e8e8e8;
  --color-text-muted: #888888;
  --color-text-dim: #555555;
  --color-accent: #c9a96e;
  --color-accent-hover: #dfc08a;
  --color-white: #ffffff;
  --color-border: #222222;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --content-width: 720px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

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

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.35) 70%, transparent 100%);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 0.7rem 0.35rem;
  transition: all var(--transition);
}

.nav-logo:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-white);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* --- Hero Section (Homepage) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, transparent 70%),
    linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem 6rem;
  width: 100%;
}

.hero-date {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 6px;
  transition: var(--transition);
}

.hero-cta:hover {
  color: var(--color-accent);
  gap: 1rem;
}

.hero-cta svg {
  transition: transform var(--transition);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Hero slide counter */
.hero-counter {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.hero-counter .current {
  color: var(--color-white);
  font-weight: 600;
}

/* Hero social sidebar */
.hero-social {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-social a:hover {
  color: var(--color-white);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-accent);
}

/* --- Featured Stories Grid --- */
.stories-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: cardSlideUp 0.6s ease forwards;
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }
.story-card:nth-child(4) { animation-delay: 0.4s; }
.story-card:nth-child(5) { animation-delay: 0.5s; }

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

.story-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.story-card:hover .story-card-bg {
  transform: scale(1.05);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 60%
  );
}

.story-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.story-card-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: tagFloat 0.6s ease both;
}

.story-card:nth-child(1) .story-tag { animation-delay: 0.1s; }
.story-card:nth-child(2) .story-tag { animation-delay: 0.2s; }
.story-card:nth-child(3) .story-tag { animation-delay: 0.3s; }
.story-card:nth-child(4) .story-tag { animation-delay: 0.4s; }
.story-card:nth-child(5) .story-tag { animation-delay: 0.5s; }

@keyframes tagFloat {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.story-tag--drive {
  background: rgba(110, 180, 140, 0.2);
  color: #6eb48c;
  border-color: rgba(110, 180, 140, 0.25);
}

.story-tag--travel {
  background: rgba(201, 169, 110, 0.2);
  color: var(--color-accent);
  border-color: rgba(201, 169, 110, 0.25);
}

.story-tag--guide {
  background: rgba(110, 160, 201, 0.2);
  color: #6ea0c9;
  border-color: rgba(110, 160, 201, 0.25);
}

.story-tag--photo {
  background: rgba(180, 130, 200, 0.2);
  color: #b482c8;
  border-color: rgba(180, 130, 200, 0.25);
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.story-card-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Articles List --- */
.articles-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.article-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

.article-item:first-child {
  padding-top: 0;
}

.article-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.article-item:hover .article-image img {
  transform: scale(1.03);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.article-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.article-item:hover .article-title {
  color: var(--color-accent);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: var(--color-accent);
}

/* --- About Teaser (Homepage) --- */
.about-teaser {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  border-top: 1px solid var(--color-border);
}

.about-teaser-image {
  aspect-ratio: 1 / 1;
  width: 280px;
  overflow: hidden;
  border-radius: 50%;
}

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

.about-teaser-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.about-teaser-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.about-teaser-text {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* --- Post Article --- */
.post-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.1) 100%
  );
  display: flex;
  align-items: flex-end;
}

.post-hero-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
  text-align: center;
}

.post-categories {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.post-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.post-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Post body */
.post-content-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 3rem 0 1rem;
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 2.5rem 0 0.75rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body img {
  border-radius: 4px;
  margin: 2rem 0;
}

/* Portrait image pair — side by side */
.portrait-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}

.portrait-pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
}

/* Single centered portrait */
.portrait-single {
  max-width: 70%;
  margin: 2.5rem auto;
}

.portrait-single img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
}

.portrait-single figcaption,
.portrait-pair figcaption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.post-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: 0 4px 4px 0;
}

.post-body pre {
  background: var(--color-bg-alt);
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.post-body code {
  font-size: 0.9em;
  background: var(--color-bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.post-body pre code {
  background: none;
  padding: 0;
}

.post-body ul, .post-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-nav-link.next {
  text-align: right;
}

.post-nav-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.post-nav-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  transition: color var(--transition);
}

.post-nav-link:hover .post-nav-title {
  color: var(--color-accent);
}

/* --- Page Template --- */
.page-header {
  padding: 10rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(to bottom, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--color-accent);
}

.page-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* --- Places Page --- */
.places-header {
  padding-bottom: 0;
  border-bottom: none;
}

.places-header .page-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

/* --- Places page: tabs --- */
.places-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.places-tab {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  padding: 1rem 2rem;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.places-tab svg {
  opacity: 0.5;
  transition: opacity var(--transition);
}

.places-tab:hover svg,
.places-tab.active svg {
  opacity: 1;
}

.places-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.places-tab:hover {
  color: var(--color-white);
}

.places-tab.active {
  color: var(--color-accent);
}

.places-tab.active::after {
  transform: scaleX(1);
}

.places-panel {
  display: none;
}

.places-panel.active {
  display: block;
}

/* --- Places page: card grid --- */
.places-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.place-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.place-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 169, 110, 0.1);
}

.place-card-visual {
  position: relative;
  overflow: hidden;
}

.place-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.place-card:hover .place-card-img {
  transform: scale(1.05);
}

.place-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.place-badge--stay {
  background: rgba(201, 169, 110, 0.25);
  color: var(--color-accent);
}

.place-badge--see {
  background: rgba(110, 160, 201, 0.25);
  color: #6ea0c9;
}

.place-badge--eat {
  background: rgba(201, 130, 110, 0.25);
  color: #c9826e;
}

.place-badge--chill {
  background: rgba(130, 201, 150, 0.25);
  color: #82c996;
}

.place-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.place-card-loc {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.4rem;
}

.place-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.place-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.place-card-stars {
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.place-card-price {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.place-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-card-cta {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}

.place-card:hover .place-card-cta {
  gap: 0.7rem;
}

/* --- Place article layout --- */
.place-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.place-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.place-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.6) 40%,
    rgba(10, 10, 10, 0.2) 70%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

.place-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 3rem 4rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.place-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.place-badge--stay { background: rgba(201, 169, 110, 0.2); color: var(--color-accent); }
.place-badge--see { background: rgba(110, 160, 201, 0.2); color: #6ea0c9; }
.place-badge--eat { background: rgba(201, 130, 110, 0.2); color: #c9826e; }
.place-badge--chill { background: rgba(130, 201, 150, 0.2); color: #82c996; }

.place-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.place-hero-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.place-hero-location svg {
  color: var(--color-accent);
}

.place-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.place-rating-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.place-stars-row {
  display: flex;
  gap: 0.2rem;
}

.place-price-tag {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.place-review-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.place-review-content p {
  margin-bottom: 1.5rem;
}

.place-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 2rem;
  background: var(--color-bg-card);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.place-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.place-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.place-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.place-info-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.place-info-value {
  font-size: 0.9rem;
  color: var(--color-white);
  line-height: 1.4;
}

.place-related {
  margin-bottom: 2rem;
}

.place-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.place-related-link:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.place-back {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.place-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.place-back-link:hover {
  color: var(--color-accent);
}

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 3rem 0 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.page-content a {
  border-bottom: 1px solid var(--color-accent);
}

/* --- Gallery Filters --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 2rem 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
}

.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

/* --- Gallery Masonry --- */
.gallery-masonry {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  grid-row: span 2;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.gallery-item--tall {
  grid-row: span 3;
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-item-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.gallery-item-caption {
  font-size: 0.85rem;
  color: var(--color-white);
  font-weight: 500;
}

/* --- Contact Form --- */
.contact-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.contact-section p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-dim);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-bg);
}

/* --- Articles Page — uses story-card style --- */
.articles-page-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Ensure all article story cards are uniform */
.articles-page-grid .story-card--article {
  aspect-ratio: 3 / 4;
}

.articles-page-grid .story-card--article .story-card-title {
  font-size: 1.35rem;
}

/* --- Photo of the Week --- */
.potw {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 5rem;
}

.potw-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
}

.potw-image {
  overflow: hidden;
}

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

.potw-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.potw-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.potw-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.potw-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.potw-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Stats Bar --- */
.stats-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 2rem;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--color-border);
}

/* --- 24 Hours In (Day Guide) --- */
.day-guide-section {
  padding-bottom: 2rem;
}

.day-guide-cities {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.day-city-tab {
  flex: 1;
  max-width: 200px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.day-city-tab:hover {
  border-color: var(--color-accent);
}

.day-city-tab.active {
  border-color: var(--color-accent);
  background: rgba(201, 169, 110, 0.1);
}

.day-city-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.day-city-country {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.day-guide-content {
  display: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.day-guide-content.active {
  display: block;
}

/* Day guide hero */
.day-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 2rem;
}

.day-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.day-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.1) 60%
  );
}

.day-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
}

.day-hero-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.day-hero-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.day-hero-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Timeline */
.day-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
  margin-left: 1rem;
}

.day-block {
  position: relative;
  margin-bottom: 2.5rem;
}

.day-block::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
}

.day-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.day-block-icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.day-block-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
}

.day-block-time {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-left: auto;
}

.day-block-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual spot cards */
.day-spot {
  display: flex;
  gap: 1rem;
  background: var(--color-bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

.day-spot:hover {
  border-color: rgba(201, 169, 110, 0.3);
}

.day-spot-image {
  width: 100px;
  min-height: 90px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.day-spot-info {
  padding: 0.75rem 1rem 0.75rem 0;
  flex: 1;
}

.day-spot-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.day-spot-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Where to stay */
.day-stays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.day-stay {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.day-stay-price {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.day-stay-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.day-stay-type {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA */
.day-guide-cta {
  text-align: center;
  padding: 2rem 0 1rem;
}

/* Coming soon placeholder */
.day-guide-coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* --- Lifestyle (Drives, Hikes, Playlists) --- */
.lifestyle-section {
  border-top: 1px solid var(--color-border);
}

.lifestyle-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lifestyle-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  transition: var(--transition);
}

.lifestyle-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
}

.lifestyle-card-icon {
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.lifestyle-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.lifestyle-list {
  list-style: none;
}

.lifestyle-list li {
  margin-bottom: 0.75rem;
}

.lifestyle-list li:last-child {
  margin-bottom: 0;
}

.lifestyle-list a {
  display: block;
  padding: 0.75rem;
  border-radius: 4px;
  transition: background var(--transition);
  color: inherit;
}

.lifestyle-list a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.lifestyle-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.lifestyle-list span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Spotify Embeds */
.spotify-embeds {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spotify-embed iframe {
  border-radius: 12px;
}

.lifestyle-card--playlists {
  overflow: hidden;
}

/* --- Newsletter --- */
.newsletter {
  border-top: 1px solid var(--color-border);
  padding: 5rem 2rem;
  background: var(--color-bg-alt);
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.newsletter-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.newsletter-input-group input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-input-group input::placeholder {
  color: var(--color-text-dim);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 2rem;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: var(--transition);
}

.pagination a {
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.pagination a:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
}

.pagination .current {
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
}

.pagination .prev-next {
  width: auto;
  padding: 0 1rem;
  border-radius: 20px;
}

/* --- About Page --- */
.about-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 6rem;
}

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

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-col ul a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

/* --- 404 Page --- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* --- Responsive --- */
/* ======================================
   Responsive — Tablet (992px)
   ====================================== */
@media (max-width: 992px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem 4rem;
  }

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

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

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

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

  .place-info-grid {
    grid-template-columns: 1fr;
  }

  .article-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
  }

  .about-teaser-image {
    width: 200px;
  }

  .potw-inner {
    grid-template-columns: 1fr;
  }

  .potw-image {
    aspect-ratio: 16 / 9;
  }

  .potw-content {
    padding: 2.5rem 2rem;
  }

  .day-stays {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    position: static;
    max-width: 400px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
  }

  .section-header {
    padding: 4rem 1.5rem 2rem;
  }
}

/* ======================================
   Responsive — Mobile (768px)
   ====================================== */
@media (max-width: 768px) {
  /* Navigation */
  .site-header {
    padding: 1rem 1.25rem;
  }

  .nav-logo {
    font-size: 0.75rem;
    padding: 0.3rem 0.55rem 0.25rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 0 1.25rem 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .hero-excerpt {
    font-size: 0.9rem;
    max-width: 100%;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-cta {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-date {
    font-size: 0.65rem;
  }

  .hero-social {
    display: none;
  }

  .hero-counter {
    left: 1.25rem;
    bottom: 1.25rem;
    font-size: 0.75rem;
  }

  .hero-scroll {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .hero-scroll span {
    font-size: 0.6rem;
  }

  /* Section headers */
  .section-header {
    padding: 3rem 1.25rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-label {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  /* POTW */
  .potw {
    padding: 0;
  }

  .potw-image {
    aspect-ratio: 4 / 3;
  }

  .potw-content {
    padding: 2rem 1.25rem;
  }

  .potw-title {
    font-size: 1.4rem;
  }

  .potw-text {
    font-size: 0.9rem;
  }

  /* Stories */
  .stories-grid {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 3rem;
    gap: 1rem;
  }

  .story-card {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
  }

  .story-card-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 70%
    );
  }

  .story-card-content {
    padding: 1.5rem;
  }

  .story-card-title {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .story-card-category {
    font-size: 0.6rem;
    margin-bottom: 0.4rem;
  }

  .story-tag {
    font-size: 0.55rem;
    padding: 0.25rem 0.6rem;
  }

  /* Articles page */
  .articles-page-grid {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  /* Places page */
  .places-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.25rem;
    gap: 1.25rem;
  }

  .places-tab {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    gap: 0.35rem;
  }

  .places-tab svg {
    width: 14px;
    height: 14px;
  }

  .place-card-img {
    aspect-ratio: 1 / 1;
  }

  .place-hero {
    height: 55vh;
    min-height: 400px;
  }

  .place-hero-content {
    padding: 0 1.5rem 3rem;
  }

  .place-hero-title {
    font-size: 2rem;
  }

  .articles-page-grid .story-card--article {
    aspect-ratio: 3 / 4;
  }

  /* Day guide */
  .day-guide-section {
    padding: 0;
  }

  .day-guide-content {
    padding: 0 1.25rem;
  }

  .day-guide-cities {
    padding: 0 1.25rem 1.25rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .day-city-tab {
    max-width: none;
    flex: 1 1 40%;
  }

  .day-hero {
    aspect-ratio: 16 / 9;
  }

  .day-hero-title {
    font-size: 1.5rem;
  }

  .day-timeline {
    padding-left: 1.5rem;
    margin-left: 0.5rem;
  }

  .day-block::before {
    left: -2.05rem;
  }

  .day-spot {
    flex-direction: column;
  }

  .day-spot-image {
    width: 100%;
    min-height: 140px;
  }

  .day-spot-info {
    padding: 0.75rem 1rem 1rem;
  }

  .day-stays {
    grid-template-columns: 1fr;
  }

  /* Lifestyle */
  .lifestyle-section {
    padding: 0;
  }

  .lifestyle-grid {
    padding: 0 1.25rem;
  }

  .lifestyle-card {
    padding: 1.5rem;
  }

  /* About teaser */
  .about-teaser {
    padding: 3rem 1.25rem;
  }

  .about-teaser-title {
    font-size: 1.4rem;
  }

  .about-teaser-text {
    font-size: 0.9rem;
  }

  /* Newsletter */
  .newsletter {
    padding: 3rem 0;
  }

  .newsletter-inner {
    padding: 0 1.25rem;
  }

  .newsletter-title {
    font-size: 1.4rem;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-input-group input {
    width: 100%;
  }

  .newsletter-input-group .btn {
    width: 100%;
  }

  /* Gallery */
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    padding: 0 1.25rem;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-filters {
    padding: 0 1.25rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  /* Post page */
  .post-hero {
    height: 50vh;
    min-height: 350px;
  }

  .post-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .post-content-wrapper {
    padding: 2rem 1.25rem;
  }

  .portrait-pair {
    gap: 0.75rem;
  }

  .portrait-single {
    max-width: 85%;
  }

  .post-body {
    font-size: 0.95rem;
  }

  .post-body img {
    margin: 1.5rem -1.25rem;
    width: calc(100% + 2.5rem);
    max-width: calc(100% + 2.5rem);
    border-radius: 0;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  .post-navigation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-nav-link.next {
    text-align: left;
  }

  /* Footer */
  .footer {
    padding: 3rem 1.25rem 2rem;
  }

  /* Lightbox */
  .lightbox {
    padding: 1rem;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 70vh;
  }

  .lightbox-prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-next { right: 0.5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

/* ======================================
   Responsive — Small mobile (480px)
   ====================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .stories-grid {
    gap: 0.75rem;
  }

  .story-card-title {
    font-size: 1.1rem;
  }

  .day-city-tab {
    padding: 0.5rem 1rem;
  }

  .day-city-name {
    font-size: 0.85rem;
  }

  .day-block-title {
    font-size: 0.95rem;
  }

  .places-grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .place-card-title {
    font-size: 1.05rem;
  }

  .place-card-desc {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  .place-card-info {
    padding: 1rem 1rem 1.25rem;
  }

  .places-tab {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
    gap: 0.25rem;
  }

  .places-tab svg {
    width: 12px;
    height: 12px;
  }

  .place-hero {
    height: 50vh;
    min-height: 350px;
  }

  .place-body {
    padding: 2rem 1.25rem 4rem;
  }

  .place-info-grid {
    padding: 1.25rem;
  }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .potw-title {
    font-size: 1.2rem;
  }

  .about-teaser-image {
    width: 160px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-hero {
    height: 40vh;
    min-height: 280px;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-direction: column;
  gap: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--color-accent);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-accent);
}

.lightbox-caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ======================================
   Scenic Drive Layout
   ====================================== */

.drive-hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.drive-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 40%, transparent 70%);
}

.drive-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.drive-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  margin-bottom: 1.5rem;
}

.route-point {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.route-arrow {
  color: var(--color-accent);
  flex-shrink: 0;
}

.drive-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* Drive Overview Stats */
.drive-overview {
  max-width: var(--max-width);
  margin: -3rem auto 4rem;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.drive-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.drive-stat {
  background: var(--color-bg-card);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.drive-stat svg {
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.drive-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
}

.drive-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Drive Map */
.drive-map {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.drive-map-embed {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--color-bg-card);
}

.drive-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Drive Body (intro text) */
.drive-body {
  max-width: var(--content-width);
  margin: 0 auto 4rem;
  padding: 0 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.drive-body p {
  margin-bottom: 1.5rem;
}

/* Drive Sections */
.drive-section {
  max-width: var(--max-width);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

/* Viewpoints */
.viewpoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.viewpoint-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.viewpoint-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.viewpoint-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.viewpoint-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.viewpoint-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.viewpoint-card:hover .viewpoint-image img {
  transform: scale(1.05);
}

.viewpoint-content {
  padding: 1.5rem;
}

.viewpoint-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.viewpoint-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.viewpoint-marker,
.viewpoint-elevation {
  font-size: 0.75rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 1rem;
}

/* Stops */
.stops-filter {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stop-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}

.stop-filter-btn:hover,
.stop-filter-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 169, 110, 0.08);
}

.stops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stop-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition), opacity 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.stop-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stop-card.hidden {
  display: none;
}

.stop-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

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

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

.stop-content {
  padding: 1.25rem;
}

.stop-category-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.stop-fuel {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.stop-food {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.stop-parking {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.stop-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.stop-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Tips */
.drive-tips-section {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.drive-tips-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.tip-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-bg-card);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s, transform 0.4s;
}

.tip-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.tip-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  color: var(--color-accent);
}

.tip-item p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ======================================
   City Guide Layout
   ====================================== */

.guide-hero {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.guide-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 100%);
}

.guide-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.guide-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.guide-city-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.guide-country {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* Quick Info Bar */
.guide-quick-info {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.quick-info-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Guide Intro */
.guide-intro {
  max-width: var(--content-width);
  margin: 3rem auto;
  padding: 0 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.guide-intro p {
  margin-bottom: 1.5rem;
}

/* Timeline */
.guide-timeline {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: calc(2rem + 18px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border));
}

/* Time Blocks */
.guide-time-block {
  margin-bottom: 4rem;
  padding-left: 60px;
  position: relative;
}

.time-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.time-block-icon {
  position: absolute;
  left: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  z-index: 1;
}

.time-block-icon svg {
  width: 18px;
  height: 18px;
}

.time-block-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.time-block-range {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Activity Cards */
.time-block-activities {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.city-activity-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.city-activity-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.city-activity-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.activity-image {
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.6s ease;
}

.city-activity-card:hover .activity-image img {
  transform: scale(1.05);
}

.activity-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-time {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.activity-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.activity-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.activity-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

.activity-type--breakfast,
.activity-type--lunch,
.activity-type--dinner,
.activity-type--food {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.activity-type--activity {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.activity-type--coffee {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

/* Guide Sections */
.guide-section {
  max-width: var(--max-width);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

/* Accommodations */
.accommodations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.accommodation-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.accommodation-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.accommodation-card:hover {
  border-color: var(--color-accent);
}

.accommodation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.accommodation-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
}

.accommodation-price {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
}

.accommodation-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.accommodation-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Practical Info */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.practical-item {
  background: var(--color-bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.practical-item svg {
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.practical-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.practical-value {
  font-size: 0.95rem;
  color: var(--color-white);
  font-weight: 500;
}

.guide-tips-list {
  margin-top: 2.5rem;
}

.guide-tips-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

/* ======================================
   Responsive — Drive & Guide
   ====================================== */

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

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

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

  .city-activity-card {
    grid-template-columns: 220px 1fr;
  }

  .guide-timeline::before {
    left: calc(2rem + 18px);
  }
}

@media (max-width: 768px) {
  .drive-hero {
    height: 60vh;
    min-height: 400px;
  }

  .drive-hero-content {
    padding: 3rem 1.5rem;
  }

  .drive-route-badge {
    padding: 0.4rem 1rem;
    gap: 0.5rem;
  }

  .route-point {
    font-size: 0.75rem;
  }

  .drive-overview {
    margin-top: -2rem;
  }

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

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

  .city-activity-card {
    grid-template-columns: 1fr;
  }

  .activity-image {
    aspect-ratio: 16 / 9;
  }

  .guide-hero {
    height: 65vh;
  }

  .guide-city-name {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .guide-quick-info {
    gap: 1.5rem;
  }

  .guide-timeline::before {
    left: calc(1.5rem + 18px);
  }

  .guide-time-block {
    padding-left: 50px;
  }

  .guide-timeline {
    padding: 0 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .drive-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .drive-stat {
    padding: 1.25rem 1rem;
  }

  .drive-stat-value {
    font-size: 1.1rem;
  }

  .guide-quick-info {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .guide-timeline::before {
    display: none;
  }

  .guide-time-block {
    padding-left: 0;
  }

  .time-block-icon {
    position: relative;
    left: auto;
  }

  .stops-filter {
    gap: 0.5rem;
  }

  .stop-filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* ===================================
   Portfolio — Clean Black & White
   =================================== */
.portfolio-page {
  background: #ffffff;
  color: #1a1a1a;
}

/* Portfolio header override — white */
.portfolio-page .site-header {
  background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 70%, transparent 100%);
}
.portfolio-page .site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 #e5e5e5;
}
.portfolio-page .site-header .nav-logo,
.portfolio-page .site-header .nav-links a {
  color: #1a1a1a;
}
.portfolio-page .site-header .nav-toggle span {
  background: #1a1a1a;
}

/* --- Hero --- */
.pf-hero {
  padding: 10rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pf-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pf-hero-greeting {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #666;
  margin-bottom: 0.5rem;
}

.pf-hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.pf-hero-name strong {
  font-weight: 700;
}

.pf-hero-role {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pf-role-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #1a1a1a;
}

.pf-hero-role span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #555;
  letter-spacing: 0.02em;
}

.pf-role-star {
  color: #1a1a1a;
  font-size: 1.2rem;
}

.pf-hero-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.pf-hero-bio strong {
  color: #1a1a1a;
  font-weight: 600;
}

.pf-hero-values {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pf-hero-values li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.8;
}

.pf-hero-values li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #1a1a1a;
  font-weight: 700;
}

.pf-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero image — floating, no frame */
.pf-hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.pf-floating-img {
  width: 420px;
  height: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.6s ease, transform 0.6s ease;
  transform-origin: bottom center;
  animation: pf-float 4s ease-in-out infinite;
}

.pf-floating-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
  animation-play-state: paused;
}

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

.pf-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.pf-typed-text {
  color: #fff;
}

.pf-cursor {
  color: #fff;
  animation: pf-blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes pf-blink {
  50% { opacity: 0; }
}

/* Hero stats */
.pf-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.pf-stat {
  text-align: center;
}

.pf-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.pf-stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #1a1a1a;
}

.pf-stat-label {
  display: block;
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}

/* --- Expertise Strip --- */
.pf-expertise-strip {
  background: #1a1a1a;
  padding: 1.2rem 2rem;
}

.pf-expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pf-expertise-pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: default;
}

.pf-expertise-pill:hover {
  color: #1a1a1a;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- Social Bar --- */
.pf-social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
}

.pf-social-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.pf-social-bar a:hover {
  opacity: 0.5;
}

.pf-social-divider {
  width: 1px;
  height: 16px;
  background: #ccc;
}

/* --- Buttons --- */
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

.pf-btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}

.pf-btn-primary:hover {
  background: #333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pf-btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
}

.pf-btn-outline:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: translateY(-2px);
}

.pf-btn-dark {
  background: #1a1a1a;
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pf-btn-dark:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
}

.pf-btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
}

/* --- Section Headers --- */
.pf-section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.pf-section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.pf-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

.pf-section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
}

.pf-section-right {
  max-width: 360px;
  text-align: right;
}

.pf-section-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Centered section header */
.pf-section-header-centered {
  text-align: center;
}

.pf-section-title-lg {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

.pf-section-dot {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.pf-section-lines {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1.5rem;
}

.pf-section-lines span {
  display: block;
  width: 30px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transform: rotate(-25deg);
}

/* --- Services Grid --- */
.pf-services {
  padding: 5rem 0;
  background: #ffffff;
}

.pf-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pf-service-card {
  padding: 2.5rem 2rem;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pf-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.pf-service-card:hover::before {
  transform: scaleY(1);
}

.pf-service-card > * {
  position: relative;
  z-index: 1;
}

.pf-service-card:hover {
  border-color: #1a1a1a;
}

.pf-service-card:hover h3,
.pf-service-card:hover p,
.pf-service-card:hover .pf-service-link,
.pf-service-card:hover .pf-service-icon {
  color: #ffffff;
}

.pf-service-icon {
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}

.pf-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.pf-service-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}

.pf-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.4s ease, gap 0.3s ease;
}

.pf-service-link:hover {
  gap: 0.7rem;
}

/* --- Experience --- */
.pf-experience {
  padding: 5rem 0;
  background: #fafafa;
}

.pf-experience-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pf-exp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e5e5;
  cursor: default;
  transition: all 0.3s ease;
}

.pf-exp-item:hover {
  padding-left: 1rem;
}

.pf-exp-company {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

.pf-exp-location {
  font-size: 0.82rem;
  color: #888;
}

.pf-exp-duration {
  font-size: 0.72rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 0.4rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pf-exp-detail {
  padding: 0 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.pf-exp-detail p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pf-exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pf-exp-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #666;
  padding: 0.3rem 0.7rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  transition: all 0.25s ease;
}

.pf-exp-tags span:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* --- Projects / Case Study --- */
.pf-projects {
  padding: 5rem 0;
  background: #fff;
}

.pf-projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 2rem;
}

.pf-project-card {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.pf-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: #ccc;
}

.pf-project-image {
  padding: 1.5rem 1.5rem 0;
}

.pf-project-placeholder {
  width: 100%;
  height: 180px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-project-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

.pf-project-info {
  padding: 1.5rem;
}

.pf-project-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pf-project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.pf-project-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pf-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.pf-project-tech span {
  font-size: 0.7rem;
  font-weight: 500;
  color: #888;
  padding: 0.25rem 0.6rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.pf-project-tech span:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.pf-project-links {
  display: flex;
  gap: 0.75rem;
}

.pf-project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pf-project-cta:hover {
  opacity: 0.6;
}

.pf-project-cta-ghost {
  color: #888;
}

/* --- Skills --- */
.portfolio-page .pf-skills {
  padding: 5rem 0;
  background: #fafafa;
}

.portfolio-page .pf-skills-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-page .pf-skill-group {
  padding: 2rem 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-page .pf-skill-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: #1a1a1a;
}

.portfolio-page .pf-skill-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.portfolio-page .pf-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-page .pf-skill-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #666;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #eee;
  transition: all 0.25s ease;
  cursor: default;
}

.portfolio-page .pf-skill-tags span:hover {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-2px);
}

/* --- CTA Section --- */
.pf-cta {
  padding: 6rem 2rem;
  background: #1a1a1a;
  text-align: center;
}

.pf-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.pf-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.pf-cta-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pf-cta-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pf-cta .pf-btn-primary {
  background: #ffffff;
  color: #1a1a1a;
}

.pf-cta .pf-btn-primary:hover {
  background: #f0f0f0;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

.pf-cta .pf-btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

.pf-cta .pf-btn-outline:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

/* --- Card entrance animations --- */
.pf-card-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-card-animate.pf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer override --- */
.portfolio-page .site-footer {
  background: #111;
  border-top: none;
}

.portfolio-page .site-footer h4,
.portfolio-page .site-footer p,
.portfolio-page .site-footer a {
  color: rgba(255,255,255,0.7);
}

.portfolio-page .site-footer a:hover {
  color: #fff;
}

.portfolio-page .footer-bottom p {
  color: rgba(255,255,255,0.3);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .pf-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .pf-hero-text {
    order: 2;
  }

  .pf-hero-image {
    order: 1;
  }

  .pf-hero-bio {
    max-width: 100%;
  }

  .pf-hero-role {
    justify-content: center;
  }

  .pf-hero-actions {
    justify-content: center;
  }

  .pf-hero-values {
    text-align: left;
    display: inline-block;
  }

  .pf-floating-img {
    width: 300px;
  }

  .pf-section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .pf-section-right {
    text-align: left;
  }

  .pf-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pf-hero {
    padding: 7rem 1.5rem 2rem;
  }

  .pf-hero-stats {
    gap: 2rem;
  }

  .pf-stat-num {
    font-size: 2rem;
  }

  .pf-projects-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page .pf-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-exp-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pf-social-bar {
    gap: 1rem;
  }

  .pf-cta-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .pf-hero-name {
    font-size: 2.5rem;
  }

  .pf-hero-stats {
    flex-direction: row;
    gap: 1.5rem;
  }

  .portfolio-page .pf-skills-grid {
    grid-template-columns: 1fr;
  }

  .pf-expertise-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
  }

  .pf-arrow {
    display: none !important;
  }
}

/* ===================================
   Hand-drawn Arrows
   =================================== */
.pf-arrow {
  color: #1a1a1a;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.pf-arrow.pf-drawn {
  opacity: 0.15;
}

.pf-arrow path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-arrow.pf-drawn path {
  stroke-dashoffset: 0;
}

/* Arrow positions */
.pf-arrow-hero-1 {
  position: absolute;
  top: 8rem;
  right: 5%;
  transform: rotate(-15deg);
  z-index: 1;
}

.pf-arrow-hero-2 {
  position: absolute;
  bottom: 2rem;
  left: 8%;
  transform: rotate(10deg);
  z-index: 1;
}

/* Inline arrows in section titles */
.pf-arrow-inline {
  display: inline-block;
  vertical-align: middle;
  color: #1a1a1a;
  opacity: 0.2;
  margin-left: 0.5rem;
}

/* Section header arrows */
.pf-arrow-section {
  display: block;
  margin: 1rem auto 0;
  color: #1a1a1a;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.pf-arrow-section.pf-drawn {
  opacity: 0.15;
}

.pf-arrow-section path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-arrow-section.pf-drawn path {
  stroke-dashoffset: 0;
}

/* CTA arrow */
.pf-arrow-cta {
  display: block;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.pf-arrow-cta.pf-drawn {
  opacity: 1;
}

.pf-arrow-cta path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-arrow-cta.pf-drawn path {
  stroke-dashoffset: 0;
}

/* Section subtitle */
.pf-section-subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.75rem;
}

/* Remove old section lines */
.pf-section-lines { display: none; }

/* ===================================
   Currently Working On
   =================================== */
.pf-wip-section {
  padding: 5rem 0;
  background: #f5f5f5;
}

.pf-wip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pf-wip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pf-wip-card {
  padding: 2.5rem 2rem;
  border: 2px dashed #ccc;
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-wip-card:hover {
  border-color: #1a1a1a;
  border-style: solid;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.pf-wip-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.7rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.pf-wip-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.pf-wip-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.pf-wip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pf-wip-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  color: #666;
  padding: 0.3rem 0.7rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fafafa;
  transition: all 0.25s ease;
}

.pf-wip-tags span:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ===================================
   Enhanced Artsy Animations
   =================================== */

/* Stagger-in for card groups */
.pf-card-animate {
  opacity: 0;
  transform: translateY(50px) rotate(0.5deg);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-card-animate.pf-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Hero text reveal */
.pf-hero-text > * {
  opacity: 0;
  transform: translateY(25px);
  animation: pf-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pf-hero-greeting { animation-delay: 0.1s; }
.pf-hero-name { animation-delay: 0.25s; }
.pf-hero-role { animation-delay: 0.4s; }
.pf-hero-bio { animation-delay: 0.55s; }
.pf-hero-values { animation-delay: 0.65s; }
.pf-hero-actions { animation-delay: 0.8s; }

@keyframes pf-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image pop-in */
.pf-hero-image {
  opacity: 0;
  transform: scale(0.9);
  animation: pf-pop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes pf-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stat number bounce */
.pf-stat {
  opacity: 0;
  transform: translateY(20px);
  animation: pf-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pf-stat:nth-child(1) { animation-delay: 0.9s; }
.pf-stat:nth-child(2) { animation-delay: 1.05s; }
.pf-stat:nth-child(3) { animation-delay: 1.2s; }

/* Expertise pill stagger */
.pf-expertise-pill {
  opacity: 0;
  transform: translateY(10px);
  animation: pf-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pf-expertise-pill:nth-child(1) { animation-delay: 1.2s; }
.pf-expertise-pill:nth-child(2) { animation-delay: 1.28s; }
.pf-expertise-pill:nth-child(3) { animation-delay: 1.36s; }
.pf-expertise-pill:nth-child(4) { animation-delay: 1.44s; }
.pf-expertise-pill:nth-child(5) { animation-delay: 1.52s; }
.pf-expertise-pill:nth-child(6) { animation-delay: 1.60s; }
.pf-expertise-pill:nth-child(7) { animation-delay: 1.68s; }
.pf-expertise-pill:nth-child(8) { animation-delay: 1.76s; }
.pf-expertise-pill:nth-child(9) { animation-delay: 1.84s; }
.pf-expertise-pill:nth-child(10) { animation-delay: 1.92s; }

/* Experience items slide-in from left */
.pf-exp-item.pf-card-animate {
  transform: translateX(-40px);
}

.pf-exp-item.pf-card-animate.pf-visible {
  transform: translateX(0);
}

/* Project cards scale-in */
.pf-project-card.pf-card-animate {
  transform: translateY(50px) scale(0.97);
}

.pf-project-card.pf-card-animate.pf-visible {
  transform: translateY(0) scale(1);
}

/* Hover tilt on project cards */
.pf-project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-project-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: #ccc;
}

/* Service card text reveal on hover */
.pf-service-card h3 {
  transition: color 0.4s ease, transform 0.3s ease;
}

.pf-service-card:hover h3 {
  transform: translateX(4px);
}

/* Skill tag wobble on hover */
.portfolio-page .pf-skill-tags span:hover {
  animation: pf-wobble 0.4s ease;
}

@keyframes pf-wobble {
  0% { transform: translateY(-2px) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(2deg); }
  50% { transform: translateY(-2px) rotate(-2deg); }
  75% { transform: translateY(-2px) rotate(1deg); }
  100% { transform: translateY(-2px) rotate(0deg); }
}

/* Section headers fade-in */
.pf-section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pf-section-header.pf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* WIP card hover effects */
.pf-wip-card:hover .pf-wip-badge {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* Smooth scroll for the whole page */
.portfolio-page {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .pf-wip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .pf-wip-grid {
    grid-template-columns: 1fr;
  }
}
