/* ===================================
   NOMADIC TRAVELLERS — MAIN STYLESHEET
   Dark Cinematic Photography Site
   =================================== */

:root {
  --black: #080808;
  --near-black: #0e0e0e;
  --dark: #141414;
  --dark-mid: #1c1c1c;
  --mid: #2a2a2a;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --white: #f5f2ed;
  --white-muted: rgba(245,242,237,0.55);
  --white-faint: rgba(245,242,237,0.2);
  --gold: #c9a96e;
  --gold-light: #e0c98a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* PHOTO PROTECTION — images cannot be saved/dragged */
img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  draggable: false;
}
.photo-wrap {
  position: relative;
  overflow: hidden;
}
.photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: all;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--mid); border-radius: 2px; }

/* SELECTION */
::selection { background: var(--gold); color: var(--black); }

/* CONTAINER */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* NAV SVG LOGO */
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-svg {
  height: 48px;
  width: auto;
  display: block;
}

/* HERO LOGO */
.hero-logo-wrap {
  margin-bottom: 36px;
}
.hero-logo-svg {
  width: clamp(260px, 38vw, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(201,169,110,0.12));
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background var(--transition), border-bottom var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,8,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(20,40,60,0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(40,20,10,0.6) 0%, transparent 60%),
    linear-gradient(135deg, #050a10 0%, #0a1a12 40%, #120a06 100%);
}

/* Replace .hero-placeholder with a Cloudflare Image: */
/* .hero-bg img { width:100%; height:100%; object-fit:cover; } */

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.5) 30%, rgba(8,8,8,0.1) 70%, rgba(8,8,8,0.3) 100%),
    linear-gradient(to right, rgba(8,8,8,0.5) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

.hero-tagline {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 48px;
}

.btn-hero {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-hero:hover {
  background: var(--gold);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-faint);
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--white-faint), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 56px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
}
.section-header .section-title { margin-bottom: 0; }

.link-all {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: opacity var(--transition);
}
.link-all:hover { opacity: 0.7; }

/* =====================
   CATEGORY GRID
   ===================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.cat-card {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
}

.cat-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.cat-img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Replace placeholder with Cloudflare Image:
.cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
} */

.cat-card:hover .cat-img-placeholder { transform: scale(1.06); }

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.2) 50%, transparent 100%);
  transition: opacity var(--transition);
}

.cat-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  z-index: 2;
}
.cat-count {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.cat-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

/* =====================
   ARTICLES PREVIEW
   ===================== */
.articles-preview { background: var(--near-black); }

.articles-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.article-card {
  background: var(--near-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.article-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: all;
}

.article-img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.article-card:hover .article-img-placeholder { transform: scale(1.04); }

.article-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
}
.article-card.featured .article-body h3 { font-size: 26px; }

.article-body p {
  font-size: 13px;
  color: var(--white-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.article-read {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity var(--transition);
  margin-top: auto;
}
.article-read:hover { opacity: 0.6; }

/* =====================
   QUOTE SECTION
   ===================== */
.quote-section {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.signature-quote p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 28px;
}
.signature-quote cite {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* =====================
   GALLERY PAGE
   ===================== */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  padding-left: 48px;
  padding-right: 48px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 13px;
  color: var(--white-muted);
  letter-spacing: 0.06em;
}

/* FILTERS */
.gallery-filters {
  padding: 0 48px 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.06);
}

/* MASONRY GRID */
.masonry-grid {
  padding: 0 40px 80px;
  columns: 3;
  column-gap: 3px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.masonry-item .photo-wrap {
  width: 100%;
  display: block;
  overflow: hidden;
}
.masonry-item img,
.masonry-item .photo-placeholder {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.masonry-item:hover img,
.masonry-item:hover .photo-placeholder { transform: scale(1.03); }

.masonry-item .photo-placeholder {
  aspect-ratio: var(--ratio, 3/2);
}
.masonry-item .photo-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 18px 18px;
  background: linear-gradient(to top, rgba(8,8,8,0.85), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 3;
  pointer-events: none;
}
.masonry-item:hover .photo-info { opacity: 1; }
.photo-info-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  display: block;
}
.photo-info-cat {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img,
.lightbox-placeholder {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-placeholder {
  width: 700px;
  height: 500px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-faint);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.lightbox-close {
  position: fixed;
  top: 28px; right: 36px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--border);
  color: var(--white-muted);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}
.lightbox-close:hover { border-color: var(--white); color: var(--white); }
.lightbox-caption {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}
.lightbox-caption span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--white-muted);
}
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border);
  color: var(--white-muted);
  font-size: 20px;
  width: 44px; height: 60px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--white); color: var(--white); }

/* =====================
   ARTICLES PAGE
   ===================== */
.articles-list {
  padding: 0 48px 80px;
  max-width: 1100px;
}
.article-full-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
  padding: 40px 0;
}
.article-full-card:hover { background: rgba(255,255,255,0.02); }
.article-full-card .img-wrap {
  overflow: hidden;
  position: relative;
}
.article-full-card .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: all;
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  user-select: none;
}
.article-full-card:hover .article-thumb { transform: scale(1.04); }
.article-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.article-full-card:hover .article-thumb-placeholder { transform: scale(1.04); }
.article-text {
  padding: 8px 0 8px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  align-items: center;
}
.article-text h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
.article-text p {
  font-size: 13px;
  color: var(--white-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.article-date {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--white-faint);
  text-transform: uppercase;
}
.article-read-more {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
}

/* ARTICLE SINGLE */
.article-single {
  max-width: 740px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
}
.article-single h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
}
.article-single .lead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--white-muted);
  border-left: 1px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.article-single p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245,242,237,0.8);
  margin-bottom: 28px;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
}
.article-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: all;
}

/* =====================
   ABOUT PAGE
   ===================== */
.about-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  padding: calc(var(--nav-h) + 60px) 48px 100px;
  max-width: 1200px;
}
.about-portrait {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  height: fit-content;
}
.about-portrait .portrait-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.about-portrait .portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: all;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
}
.about-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}
.about-title-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 40px;
}
.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245,242,237,0.75);
  margin-bottom: 24px;
  font-weight: 300;
}
.about-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 36px 0;
}
.gear-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.gear-list li {
  font-size: 13px;
  color: var(--white-muted);
  padding-left: 18px;
  position: relative;
}
.gear-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.contact-left {
  background: var(--near-black);
  padding: calc(var(--nav-h) + 60px) 60px 80px;
  border-right: 1px solid var(--border);
}
.contact-left h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 32px;
}
.contact-left p {
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 48px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail-value {
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
a.contact-detail-value:hover { color: var(--gold); }

.contact-right {
  padding: calc(var(--nav-h) + 60px) 60px 80px;
}
.contact-right h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 28px;
}
.form-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 10px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-textarea {
  height: 120px;
  resize: none;
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 0;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
}
.form-select { cursor: pointer; }
.form-select option { background: var(--dark); }

.btn-submit {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 12px;
}
.btn-submit:hover {
  background: var(--gold);
  color: var(--black);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand .logo-main { font-size: 20px; }
.footer-brand p {
  font-size: 11px;
  color: var(--white-faint);
  margin-top: 8px;
  letter-spacing: 0.08em;
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 11px;
  color: var(--white-faint);
  letter-spacing: 0.06em;
}

/* =====================
   PAGE TRANSITIONS
   ===================== */
.page-fade {
  animation: pageFadeIn 0.5s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================
   UTILITY
   ===================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}
.hidden { display: none !important; }
.text-gold { color: var(--gold); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-row { grid-template-columns: 1fr 1fr; }
  .articles-row .article-card:last-child { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 380px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-right { padding-top: 60px; }
  .masonry-grid { columns: 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 24px; }
  .nav-links {
    position: fixed;
    inset: 0; top: var(--nav-h);
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 14px; letter-spacing: 0.2em; }
  .nav-toggle { display: flex; }
  .hero-content, .page-hero, .gallery-filters, .masonry-grid, .articles-list { padding-left: 24px; padding-right: 24px; }
  .hero-content { padding-bottom: 0; }
  .hero-scroll { display: none; }
  .section { padding: 70px 0; }
  .container { padding: 0 24px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .articles-row { grid-template-columns: 1fr; }
  .articles-row .article-card:last-child { display: flex; }
  .article-full-card { grid-template-columns: 1fr; }
  .article-text { padding: 24px 0 0; }
  .contact-left, .contact-right { padding: 40px 24px; }
  .contact-left { padding-top: calc(var(--nav-h) + 40px); }
  .footer-top { flex-direction: column; gap: 32px; }
  .masonry-grid { columns: 1; padding: 0 24px 60px; }
}
