@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Oooh+Baby&display=swap");

@font-face {
  font-family: "Runiga";
  src: url("../fonts/runiga/Runiga.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Narony";
  src: url("../fonts/narony/Narony-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Blue Voltage";
  src: url("../fonts/blue-voltage/Blue%20Voltage.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #fafaf8;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: #e5e5e5;
  --accent: #000000;
  --accent2: #333333;
  --dark: #000000;
  --cream: #f9f9f7;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --font-body: "Times New Roman", Times, serif;
  --font-caps: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-title: "Runiga", "Times New Roman", Times, serif;
  --font-signature: "Narony", "Oooh Baby", cursive;
  --font-script-heading: "Blue Voltage", "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

nav .wrap {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 20px 0;
  overflow-x: auto;
}

nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

nav a[aria-current="page"] {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  padding-bottom: 3px;
}

nav .logo {
  font-weight: 700;
  color: var(--ink);
  border: none;
  background: transparent;
  font-size: 1rem;
  margin-right: auto;
  letter-spacing: 1px;
  font-family: var(--font-body);
}

/* Header/Hero */
header.hero {
  min-height: 85vh;
  display: grid;
  align-items: center;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-card {
  background: var(--paper);
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy {
  padding: 60px 50px;
  order: 2;
}

.eyebrow {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 16px;
  font-family: var(--font-caps);
}

h1 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 18px;
  font-weight: 700;
}

.signature-title {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin: 0 0 26px;
}

.title-small {
  color: #171717;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  line-height: 1;
  margin: 0 0 0.25rem 0.25rem;
  text-transform: uppercase;
}

.title-script {
  color: #9b8c7d;
  font-family: var(--font-signature);
  font-size: clamp(5.2rem, 10vw, 9.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.75;
  transform: translateX(-0.08em);
}

.hero-visual .signature-title {
  bottom: clamp(34px, 7vw, 72px);
  left: clamp(22px, 5vw, 56px);
  margin: 0;
  max-width: min(88%, 640px);
  mix-blend-mode: screen;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-visual .title-small {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.hero-visual .title-script {
  color: rgba(234, 224, 212, 0.82);
  font-size: clamp(5.4rem, 12vw, 10.8rem);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 28px;
  line-height: 1.8;
  font-weight: 400;
}

.page-banner {
  min-height: 54vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 120px 0 64px;
  background-position: center;
  background-size: cover;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.44));
}

.page-banner .wrap {
  position: relative;
  z-index: 1;
}

.page-banner-copy {
  max-width: 680px;
}

.page-banner h1,
.page-banner .subtitle {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-banner h1,
header[style*="linear-gradient"] h1 {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0;
}

.home-page .section-header h2 {
  font-family: var(--font-script-heading);
  font-size: clamp(1.55rem, 3.2vw, 2.85rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page-banner .subtitle {
  margin-bottom: 0;
}

.page-banner .btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.page-banner .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.gallery-banner {
  background-image: url("../photos/web/europe/1F7A6749.jpg");
}

.trips-banner {
  background-image: url("../photos/dolomites/cover-web.jpg");
}

.films-banner {
  background-image: url("../photos/web/astrophotography/1F7A8522.jpg");
}

.contact-banner {
  background-image: url("../photos/web/europe/IMG_7059.jpg");
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  background: var(--dark);
  padding: 12px 28px;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
  transition: all 0.2s ease;
  border: 1px solid var(--dark);
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: none;
}

.btn.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn.secondary:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.directory-toggle {
  display: none;
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 200;
}

.directory-toggle summary {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
}

.directory-toggle summary::-webkit-details-marker {
  display: none;
}

.directory-toggle summary span,
.directory-toggle summary span::before,
.directory-toggle summary span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.directory-toggle summary span {
  position: relative;
}

.directory-toggle summary span::before {
  position: absolute;
  top: -6px;
}

.directory-toggle summary span::after {
  position: absolute;
  top: 6px;
}

.directory-panel {
  width: min(300px, calc(100vw - 36px));
  margin-top: 10px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(220, 203, 182, 0.9);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(47, 42, 36, 0.24);
}

.directory-panel strong {
  display: block;
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 1.1rem;
}

.directory-panel a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.directory-panel a:hover {
  background: #ead9c2;
}

.directory-panel a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.directory-panel .menu-socials {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.directory-panel .menu-social-link {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 4px;
}

.directory-panel .menu-social-link svg {
  display: block;
  height: 18px;
  width: 18px;
}


.hero-visual {
  min-height: 520px;
  background: #f0ebe5;
  order: 1;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.hero-visual::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02) 58%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}

.home-page header.hero {
  align-items: stretch;
  min-height: calc(100vh - 65px);
  padding: 0;
}

.home-page header.hero > .wrap {
  width: 100%;
}

.home-page .hero-card {
  min-height: calc(100vh - 65px);
  position: relative;
  display: block;
  border: 0;
  background: #111;
}

.home-page .hero-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
}

.home-page .hero-visual::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 27%, rgba(0, 0, 0, 0.03) 58%),
    linear-gradient(270deg, rgba(250, 250, 248, 0.42) 0%, rgba(250, 250, 248, 0.12) 30%, rgba(250, 250, 248, 0) 56%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.42) 100%);
}

.home-page .hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 84px);
  bottom: clamp(34px, 8vw, 86px);
  z-index: 3;
  width: min(520px, calc(100% - 48px));
  padding: 0;
  color: #fff;
}

.home-page .eyebrow,
.home-page .subtitle {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.home-page .subtitle {
  margin-bottom: 0;
}

.home-page .hero-visual .signature-title {
  top: clamp(42px, 8vw, 92px);
  bottom: auto;
  left: clamp(24px, 6vw, 84px);
  max-width: min(76%, 720px);
}

.home-page .hero-visual .title-small {
  color: rgba(255, 255, 255, 0.9);
}

.home-page .hero-visual .title-script {
  color: rgba(240, 231, 219, 0.78);
  font-size: clamp(6.6rem, 14vw, 13.5rem);
}

.home-page .hero .btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.home-page .hero .btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

h2 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.section-note {
  color: var(--muted);
  max-width: 600px;
  font-size: 0.9rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  transition: all 0.2s ease;
}

.card:hover {
  border-color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: none;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  letter-spacing: 0.5px;
  font-family: var(--font-caps);
}

/* Gallery Grid */
.country-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.country-nav a {
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.country-nav a:hover {
  border-color: var(--ink);
  background: var(--cream);
}

.country-section {
  margin-top: 48px;
}

.country-section:first-of-type {
  margin-top: 0;
}

.country-heading {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.country-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
}

.country-heading span {
  color: var(--muted);
  font-family: var(--font-caps);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.country-section .photo-grid {
  column-gap: 24px;
  columns: 3 320px;
  display: block;
}

.photo-card {
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--paper);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--line);
}

.country-section .photo-card {
  break-inside: avoid;
  display: inline-block;
  margin: 0 0 24px;
  width: 100%;
}

.photo-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--ink);
}

.photo-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.country-section .photo-card img {
  aspect-ratio: auto;
  object-fit: initial;
}

.photo-card figcaption {
  bottom: 12px;
  color: #fff;
  font-size: 0.86rem;
  left: 12px;
  line-height: 1.4;
  max-width: calc(100% - 24px);
  padding: 0;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.collection-card {
  color: inherit;
  text-decoration: none;
}

.collection-card figcaption {
  bottom: auto;
  display: grid;
  gap: 2px;
  left: 50%;
  max-width: calc(100% - 32px);
  right: auto;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
}

.collection-card figcaption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.collection-card figcaption span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
}

.photo-card:hover img {
  transform: scale(1.02);
}

/* Films */
.video-channel-link {
  margin-top: 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.video-card h2 {
  font-size: 1rem;
  margin: 0;
  padding: 18px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0f0f0f;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Gallery Category Hub */
.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.region-card {
  --image-start: 43%;
  background: var(--card-bg);
  border: 1px solid var(--line);
  color: inherit;
  cursor: pointer;
  display: block;
  min-height: 240px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  height: clamp(240px, 18vw, 320px);
}

.region-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.region-card:nth-child(1) {
  --region-img: url("../photos/Gallery Region Pic/asia.jpg");
}

.region-card:nth-child(2) {
  --region-img: url("../photos/Gallery Region Pic/africa.jpg");
}

.region-card:nth-child(3) {
  --region-img: url("../photos/Gallery Region Pic/europe.jpg");
}

.region-card:nth-child(4) {
  --region-img: url("../photos/Gallery Region Pic/north america.jpg");
}

.region-card:nth-child(5) {
  --region-img: url("../photos/Gallery Region Pic/astro.jpg");
}

.region-card.small {
  grid-column: span 4;
}

.region-card.medium {
  grid-column: span 6;
}

.region-card.wide {
  grid-column: span 8;
}

.region-card.full {
  grid-column: span 12;
}

.region-card::before {
  background: var(--card-bg);
  content: "";
  height: var(--image-start);
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.region-card-uploaded::before {
  display: none;
}

.region-card-uploaded {
  aspect-ratio: var(--card-ratio);
  height: auto;
  min-height: 0;
}

.region-top {
  display: contents;
}

.region-image {
  background-image: var(--region-img, var(--card-img));
  background-position: center;
  background-size: cover;
  height: 100%;
  inset: 0;
  position: absolute;
  z-index: 1;
}

.region-image::after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.08));
  content: "";
  inset: 0;
  position: absolute;
}

.region-card-uploaded .region-image {
  background-position: center;
  background-size: cover;
}

.region-card-uploaded .region-image::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08));
}

.explore-label {
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  left: 28px;
  letter-spacing: 0.45em;
  line-height: 1;
  position: absolute;
  text-transform: uppercase;
  top: 24px;
  z-index: 5;
}

.region-title {
  background-clip: text;
  background-image: var(--region-img, var(--card-img));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: transparent;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(3.4rem, 6.8vw, 6.4rem);
  font-weight: 800;
  left: 50%;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: var(--image-start);
  transform: translate(-50%, -93%);
  white-space: nowrap;
  z-index: 4;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.region-card.small .region-title {
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  transform: translate(-50%, -97%);
}

.region-title.long {
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  transform: translate(-50%, -96%);
}

.region-title.extra-long {
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  transform: translate(-50%, -91%);
}

.region-subtitle {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 400;
  left: 50%;
  letter-spacing: 0.28em;
  margin: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: calc(var(--image-start) - 4px);
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
}



/* Trips Section */
.trip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: none;
  transition: all 0.3s ease;
}

.trip-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.trip-image {
  background: #f0ebe5;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.8;
  border-right: 1px solid var(--line);
}

.trip-photo {
  padding: 0;
  opacity: 1;
}

.trip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.trip-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trip-content h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

.trip-content p {
  color: var(--muted);
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.trip-meta {
  display: flex;
  gap: 16px;
  margin: 16px 0;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.trip-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.photo-source-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}

/* Dolomites Itinerary */
.directory-section {
  padding: 32px 0 0;
}

.directory-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}

.directory-box h2 {
  font-size: 1.8rem;
  margin-top: 4px;
}

.directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.directory-links a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: var(--cream);
  font-size: 0.9rem;
}

.directory-links a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.back-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.dolomites-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, #f0ebe5 0%, #fafaf8 60%);
  border-bottom: 1px solid var(--line);
}

.dolomites-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}

.dolomites-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35, 42, 48, 0.72), rgba(143, 128, 101, 0.48)),
    linear-gradient(145deg, #26303a 0%, #7d8169 52%, #d8c0a0 100%);
  border: 1px solid var(--line);
}

.dolomites-visual::before {
  content: "";
  position: absolute;
  inset: auto -8% 0 -8%;
  height: 50%;
  background: #3b352f;
  clip-path: polygon(0 100%, 0 58%, 10% 66%, 20% 30%, 32% 70%, 44% 24%, 56% 68%, 67% 40%, 79% 70%, 90% 28%, 100% 62%, 100% 100%);
}

.dolomites-visual::after {
  content: "Dolomites\Aphoto route";
  white-space: pre;
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.6rem;
  line-height: 1.05;
  text-align: right;
}

.dolomites-photo-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dolomites-photo-hero::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 55%);
  clip-path: none;
  inset: 0;
  height: auto;
  z-index: 1;
}

.dolomites-photo-hero::after {
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.trip-image.dolomites-visual {
  min-height: 300px;
  border: none;
  border-right: 1px solid var(--line);
}

.dolomites-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.dolomites-photo-card {
  margin: 0;
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
}

.dolomites-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.dolomites-photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.dolomites-photo-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: white;
}

.dolomites-photo-card strong,
.dolomites-photo-card span {
  display: block;
}

.dolomites-photo-card strong {
  font-size: 1.1rem;
}

.dolomites-photo-card span {
  font-size: 0.82rem;
  opacity: 0.9;
}

.itinerary-list {
  display: grid;
  gap: 22px;
}

.itinerary-day {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
}

.day-badge {
  background: var(--dark);
  color: white;
  padding: 16px;
  position: sticky;
  top: 86px;
}

.day-badge strong,
.day-badge span {
  display: block;
}

.day-badge strong {
  font-size: 1.35rem;
  line-height: 1;
}

.day-badge span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  margin-top: 6px;
}

.itinerary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.itinerary-table th,
.itinerary-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.itinerary-table th {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.72rem;
}

.itinerary-table tr:last-child td {
  border-bottom: none;
}

.checklist {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  break-inside: avoid;
  margin: 0 0 10px;
  padding-left: 22px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--ink);
}

/* Footer */
footer {
  background: var(--paper);
  color: var(--muted);
  padding: 40px 0 50px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--ink);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-content {
  margin-bottom: 16px;
}

.footer-content strong {
  font-weight: 600;
}

.footer-socials {
  align-items: center;
  display: inline-flex;
  gap: 18px;
  justify-content: center;
  margin: 2px 0 0;
}

.footer-instagram,
.footer-email {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  justify-content: center;
  opacity: 0.72;
}

.footer-instagram svg,
.footer-email svg {
  display: block;
  height: 18px;
  width: 18px;
}

.footer-instagram:hover,
.footer-email:hover {
  opacity: 1;
  text-decoration: none;
}

.credits {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.contact-wrap {
  max-width: 820px;
}

.contact-form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--ink);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  width: 100%;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  font-family: var(--font-body);
  grid-column: 1 / -1;
  justify-self: start;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .home-page .hero-card {
    min-height: 82vh;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .home-page .hero-visual {
    min-height: 100%;
    border-bottom: 0;
  }

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

  .trip-image {
    min-height: 240px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .dolomites-hero-grid,
  .directory-box,
  .itinerary-day {
    grid-template-columns: 1fr;
  }

  .dolomites-visual {
    min-height: 300px;
  }

  .day-badge {
    position: relative;
    top: auto;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-category-grid .region-card,
  .gallery-category-grid .region-card.small,
  .gallery-category-grid .region-card.medium,
  .gallery-category-grid .region-card.wide,
  .gallery-category-grid .region-card.full {
    grid-column: span 1;
  }

  .gallery-category-grid .region-card.full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .gallery-category-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gallery-category-grid .region-card,
  .gallery-category-grid .region-card.small,
  .gallery-category-grid .region-card.medium,
  .gallery-category-grid .region-card.wide,
  .gallery-category-grid .region-card.full {
    grid-column: span 1;
  }

  .gallery-category-grid .region-card {
    min-height: 220px;
    height: 220px;
    --image-start: 44%;
  }

  .gallery-category-grid .region-card-uploaded {
    aspect-ratio: var(--card-ratio);
    height: auto;
    min-height: 0;
  }

  .gallery-category-grid .region-card-uploaded.full {
    min-height: 0;
  }

  .gallery-category-grid .region-card-uploaded.full .region-image {
    background-color: var(--card-bg);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .gallery-category-grid .region-card-uploaded {
    justify-self: center;
    width: min(100%, 560px);
  }

  .gallery-category-grid .explore-label {
    font-size: 0.66rem;
    left: 22px;
    letter-spacing: 0.4em;
    top: 18px;
  }

  .gallery-category-grid .region-card-uploaded.full .explore-label {
    top: 10px;
  }

  .gallery-category-grid .region-title {
    font-size: clamp(2.3rem, 13vw, 3.9rem);
    max-width: calc(100% - 32px);
    white-space: nowrap;
    overflow-wrap: normal;
    text-align: center;
    transform: translate(-50%, -96%);
  }

  .gallery-category-grid .region-title.long {
    font-size: clamp(2.15rem, 11vw, 3.65rem);
    line-height: 0.85;
    transform: translate(-50%, -96%);
  }

  .gallery-category-grid .region-title.extra-long {
    font-size: clamp(1.9rem, 9.4vw, 3.3rem);
    line-height: 0.85;
    transform: translate(-50%, -92%);
  }

  .gallery-category-grid .region-subtitle {
    font-size: clamp(0.42rem, 1.8vw, 0.58rem);
    letter-spacing: 0.08em;
    max-width: none;
    white-space: nowrap;
    text-align: center;
    top: calc(var(--image-start) - 2px);
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .home-page header.hero,
  .home-page .hero-card {
    min-height: 520px;
  }

  .home-page .hero-visual .signature-title {
    top: 28px;
    left: 32px;
    max-width: 48%;
  }

  .home-page .hero-visual .title-small {
    font-size: 0.56rem;
    letter-spacing: 0.26em;
  }

  .home-page .hero-visual .title-script {
    font-size: clamp(4rem, 11vh, 5.8rem);
  }

  .home-page .hero-copy {
    bottom: 28px;
    left: 32px;
    width: min(430px, 52%);
  }

  .home-page .subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .home-page .cta-group {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  body > nav {
    display: none;
  }

  .directory-toggle {
    display: block;
    top: 18px;
    right: 18px;
  }

  .directory-toggle[open] {
    inset: 0;
    pointer-events: none;
  }

  .directory-toggle[open] summary {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 202;
    pointer-events: auto;
  }

  .directory-toggle[open] summary span {
    background: transparent;
  }

  .directory-toggle[open] summary span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .directory-toggle[open] summary span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .directory-toggle[open] .directory-panel {
    position: fixed;
    inset: 0;
    z-index: 201;
    width: 100vw;
    margin: 0;
    padding: 110px 28px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
    pointer-events: auto;
    border: 0;
    border-radius: 0;
    background: rgba(255, 250, 240, 0.98);
    box-shadow: none;
  }

  .directory-panel a {
    padding: 11px 14px;
    border-bottom: 0;
    border-radius: 0;
    font-size: 1rem;
  }

  .directory-panel a[aria-current="page"] {
    background: transparent;
    color: var(--ink);
  }

  .directory-panel .menu-socials {
    margin-top: 30px;
    padding: 4px;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  .title-small {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
  }

  .title-script {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
  }

  .hero-visual .signature-title {
    bottom: 30px;
    left: 22px;
  }

  .home-page header.hero,
  .home-page .hero-card {
    min-height: 86vh;
  }

  .home-page .hero-visual .signature-title {
    top: 72px;
    left: 22px;
    max-width: calc(100% - 44px);
  }

  .hero-visual .title-small {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
  }

  .hero-visual .title-script {
    font-size: clamp(4.1rem, 24vw, 6.4rem);
  }

  .home-page .hero-visual .title-script {
    font-size: clamp(5.1rem, 25vw, 7.6rem);
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-copy {
    padding: 32px 20px;
  }

  .home-page .hero-copy {
    bottom: 32px;
    left: 22px;
    padding: 0;
    width: calc(100% - 44px);
  }

  nav .wrap {
    gap: 20px;
    padding: 16px 0;
  }

  nav a {
    padding: 0;
    font-size: 0.85rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .section-header h2 {
    font-size: clamp(1.45rem, 5vw, 2.25rem);
  }

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

  .country-section .photo-grid {
    columns: 1;
  }

  .gallery-category-grid .explore-label {
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    left: 22px;
  }

  .card {
    padding: 20px;
  }

  .itinerary-table {
    display: block;
    overflow-x: auto;
  }

  .checklist {
    columns: 1;
  }
}
