/* CASA ISTRIANA KAVRAN — mediteranski / topli stil
   Palette: peščena, terakota, oliva, morje, krema
   Type: Cormorant Garamond (display) + Mulish (body)
*/
/* Local font fallbacks with adjusted metrics — minimize FOUT layout shift */
@font-face {
  font-family: "Cormorant Garamond Fallback";
  src: local("Georgia");
  size-adjust: 102%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Mulish Fallback";
  src: local("Helvetica Neue"), local("Arial");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}

:root {
  /* Colors */
  --c-cream: #FAF6EE;
  --c-sand: #EFE6D8;
  --c-sand-deep: #E2D5BE;
  --c-stone: #C7BAA4;
  --c-clay: #B85A3D;
  --c-clay-dark: #8E3F2A;
  --c-olive: #7A8454;
  --c-olive-dark: #4F5A33;
  --c-sea: #3E6B7C;
  --c-ink: #2A2620;
  --c-ink-light: #5C544A;
  --c-line: rgba(42,38,32,.12);
  --c-line-strong: rgba(42,38,32,.22);

  /* Typography — fallback fonts with matched metrics first, real fonts after */
  --f-display: "Cormorant Garamond", "Cormorant Garamond Fallback", "Cardo", Georgia, serif;
  --f-body: "Mulish", "Mulish Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --container: 1240px;
  --container-narrow: 980px;

  /* Radius / Shadow */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;
  --shadow-card: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -8px rgba(42,38,32,.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Subtle paper texture overlay (cream noise) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0.05 0'/></filter><rect width='240' height='240' filter='url(%23n)' /></svg>");
  opacity: .55;
  z-index: 1;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* Typography */
.h-display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  color: var(--c-ink);
}
.h-display, h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--c-ink-light); }
.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-clay);
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 26px;
}
.eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--c-clay);
}
.eyebrow--light { color: var(--c-sand); }
.eyebrow--light::before { background: var(--c-sand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-clay);
  color: var(--c-cream);
}
.btn--primary:hover { background: var(--c-clay-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(250,246,238,.55);
}
.btn--ghost:hover { background: rgba(250,246,238,.12); border-color: var(--c-cream); }
.btn--lg { padding: 16px 32px; font-size: 14px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,238,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--c-ink); }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; color: var(--c-clay); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.brand__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-light);
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute; bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--c-clay);
  transition: width .25s ease, left .25s ease;
}
.nav a:hover { color: var(--c-clay); }
.nav a:hover::after { width: 100%; left: 0; }
.topbar__actions { display: flex; align-items: center; gap: 14px; }

/* Lang switcher */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}
.lang__btn:hover { border-color: var(--c-clay); color: var(--c-clay); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 160px;
  margin: 0; list-style: none;
  box-shadow: var(--shadow-card);
  display: none;
}
.lang__menu.is-open { display: block; }
.lang__menu li {
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s;
}
.lang__menu li:hover { background: var(--c-sand); }
.lang__menu li.is-active { background: var(--c-clay); color: var(--c-cream); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-cream);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/photos/hero-aerial-coast.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
/* Hide the <img> tag (kept for SEO/og fallback) */
.hero__media img {
  display: none;
}
/* Desktop only: gentle zoom on the media element itself */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .hero__media {
    animation: heroZoom 22s ease-in-out infinite alternate;
    transform-origin: center center;
  }
  @keyframes heroZoom {
    from { transform: scale(1.0); }
    to { transform: scale(1.06); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media {
    animation: none !important;
    transform: none !important;
  }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(0,0,0,.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(42,38,32,.35) 0%, rgba(42,38,32,.55) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 120px 80px;
  max-width: 880px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 32px;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--c-cream);
}
.hero__title-line {
  display: block;
}
.hero__title-line:nth-child(1) {}
.hero__title-line:nth-child(2) {
  font-style: italic;
  color: #F2D7A8;
}
.hero__lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 560px;
  color: rgba(250,246,238,.92);
  margin-bottom: 40px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 64px;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(250,246,238,.22);
}
.hero__meta-item {}
.hero__meta-num {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--c-cream);
}
.hero__meta-unit {
  font-size: 0.5em;
  vertical-align: super;
  color: rgba(250,246,238,.65);
  margin-left: 2px;
}
.hero__meta-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,246,238,.7);
  margin-top: 4px;
}
.hero__meta-divider {
  width: 1px; height: 32px;
  background: rgba(250,246,238,.25);
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(250,246,238,.6);
  z-index: 3;
  transition: color .2s;
}
.hero__scroll:hover { color: var(--c-cream); }

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

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section__head { margin-bottom: 64px; max-width: 720px; }
.section__head--centered { text-align: center; margin-inline: auto; }
.section__head--centered .eyebrow { padding-left: 0; }
.section__head--centered .eyebrow::before { display: none; }
.section__head-sub {
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 600px;
}
.section__head--centered .section__head-sub { margin-inline: auto; }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.grid--reverse > *:first-child { order: 2; }
.grid--reverse > *:last-child { order: 1; }
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .grid--reverse > *:first-child { order: 0; }
  .grid--reverse > *:last-child { order: 0; }
}

/* About section */
.section--about {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-sand) 100%);
}
.about__col-text p { font-size: 1.05rem; max-width: 540px; }
.about__col-text .h-display { margin-bottom: 28px; }
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin-top: 48px;
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--c-olive);
  margin-top: 2px;
}
.feature__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--c-ink);
}
.feature__desc {
  font-size: 14px;
  color: var(--c-ink-light);
  line-height: 1.45;
}
.about__col-image {
  position: relative;
}
.about__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.about__figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  object-position: 22% center;
  transition: transform .8s ease;
}
.about__figure:hover img { transform: scale(1.02); }
.about__figure figcaption {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(250,246,238,.92);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-ink-light);
}
.about__decor--tag {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--c-clay);
  color: var(--c-cream);
  border-radius: 999px;
  padding: 16px 22px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  transform: rotate(8deg);
  box-shadow: var(--shadow-card);
}

/* Quote band */
/* Quote band — olive green, intimate but romantic */
.quoteband {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(184,90,61,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(242,215,168,.08) 0%, transparent 65%),
    linear-gradient(180deg, #6B7548 0%, #4F5A33 100%);
  color: #FAF6EE;
}
/* warm grain on top to feel less digital */
.quoteband::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.08 0'/></filter><rect width='320' height='320' filter='url(%23n)' /></svg>");
  mix-blend-mode: overlay;
  opacity: .6;
  pointer-events: none;
}
/* very subtle warm glow center-top */
.quoteband::after {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  width: 400px; height: 400px;
  margin-left: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,215,168,.18) 0%, rgba(242,215,168,.05) 35%, transparent 65%);
  pointer-events: none;
}

/* Olive branch decoration left & right */
.quoteband__decor {
  position: absolute;
  z-index: 2;
  color: rgba(250,246,238,.32);
  pointer-events: none;
}
.quoteband__decor svg { width: 100%; height: auto; display: block; }
.quoteband__decor--left {
  top: 50%;
  left: clamp(16px, 4vw, 64px);
  width: clamp(70px, 9vw, 110px);
  transform: translateY(-50%) rotate(-14deg);
}
.quoteband__decor--right {
  top: 50%;
  right: clamp(16px, 4vw, 64px);
  width: clamp(70px, 9vw, 110px);
  transform: translateY(-50%) rotate(14deg) scaleX(-1);
}
@media (max-width: 720px) {
  .quoteband__decor--left, .quoteband__decor--right {
    top: auto; bottom: 18px;
    width: 56px;
    opacity: .55;
  }
  .quoteband__decor--left { bottom: auto; top: 18px; }
}

/* Ornament star above quote */
.quoteband__star {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  color: rgba(242,215,168,.65);
  position: relative; z-index: 2;
}
.quoteband__star svg { width: 24px; height: 24px; display: block; }

.quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  line-height: 1.4;
  text-align: center;
  margin: 0 auto;
  max-width: 820px;
  position: relative;
  z-index: 2;
  color: #FAF6EE;
  letter-spacing: -0.005em;
}

/* Big curly opening quote — pure decoration above */
.quote__mark {
  display: block;
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.7;
  color: rgba(242,215,168,.42);
  margin-bottom: 16px;
  user-select: none;
}

.quote em {
  font-style: italic;
  color: inherit;
  display: inline;
}

.quote__src {
  display: block;
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
  font-family: var(--f-body);
  color: rgba(250,246,238,.55);
  position: relative;
}
.quote__src::before, .quote__src::after {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: rgba(250,246,238,.32);
  vertical-align: middle;
  margin: 0 12px;
}

/* Gallery — masonry */
.section--gallery { background: var(--c-sand); }
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
@media (max-width: 900px) { .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 500px) { .masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; } }
.masonry__item {
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  position: relative;
  cursor: zoom-in;
  background: var(--c-stone);
}
.masonry__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.masonry__item:hover img { transform: scale(1.06); }
.masonry__item--big { grid-column: span 2; grid-row: span 2; }
.masonry__item--tall { grid-row: span 2; }
@media (max-width: 900px) {
  .masonry__item--big, .masonry__item--tall { grid-column: span 1; grid-row: span 1; }
}

/* Location */
.section--location { background: var(--c-cream); }
.location__text p { max-width: 540px; font-size: 1.05rem; }
.distances {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.distances li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 16px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-cream);
  flex-wrap: wrap;
}
.distances__num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--c-clay);
}
.distances__unit {
  font-size: 12px;
  color: var(--c-ink-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.distances__lbl {
  font-size: 13px;
  margin-left: auto;
  color: var(--c-ink-light);
}
.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: sepia(.08) saturate(.92);
}
.map-frame__link {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--c-cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-clay);
  box-shadow: var(--shadow-card);
}
.map-frame__link:hover { background: var(--c-clay); color: var(--c-cream); }

/* Rules */
.section--rules { background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-sand) 100%); }
.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  counter-reset: rule;
}
.rules__item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--c-cream);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  align-items: flex-start;
  transition: transform .25s, box-shadow .25s;
}
.rules__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.rules__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--c-clay);
  flex-shrink: 0;
}
.rules__item h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.rules__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink-light);
}

/* Book section */
.section--book {
  background: var(--c-ink);
  color: var(--c-sand);
  position: relative;
  overflow: hidden;
}
.section--book::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(184,90,61,.18) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(122,132,84,.15) 0%, transparent 50%);
  pointer-events: none;
}
.book {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 860px) { .book { grid-template-columns: 1fr; gap: 40px; } }
.book__text .h-display { color: var(--c-cream); margin-bottom: 16px; }
.book__text p { color: rgba(239,230,216,.85); font-size: 1.08rem; }
.book__text strong { color: var(--c-cream); font-weight: 600; }
.book__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .book__cards { grid-template-columns: 1fr; } }
.bookcard {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--r-md);
  border: 1px solid rgba(239,230,216,.12);
  background: rgba(239,230,216,.04);
  color: var(--c-cream);
  transition: transform .25s, background .25s, border-color .25s;
  min-height: 260px;
}
.bookcard:hover {
  transform: translateY(-3px);
  background: rgba(239,230,216,.08);
  border-color: rgba(239,230,216,.32);
}
.bookcard--direct {
  background: var(--c-clay);
  border-color: var(--c-clay);
}
.bookcard--direct:hover { background: var(--c-clay-dark); }
.bookcard__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.bookcard__name {
  font-family: var(--f-display);
  font-size: 1.6rem;
}
.bookcard__score { text-align: right; }
.bookcard__score strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #F2D7A8;
}
.bookcard--direct .bookcard__score strong { color: var(--c-cream); }
.bookcard__score span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.bookcard__body {
  flex: 1;
}
.bookcard__body p {
  color: inherit;
  opacity: 0.78;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.bookcard__cta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(239,230,216,.18);
  font-size: 14px;
  font-weight: 600;
}
.bookcard--direct .bookcard__cta { border-top-color: rgba(239,230,216,.32); }

/* Footer */
.footer {
  background: var(--c-ink);
  color: var(--c-stone);
  padding: 72px 0 24px;
  border-top: 1px solid rgba(239,230,216,.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239,230,216,.1);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.brand--footer { color: var(--c-sand); }
.brand--footer .brand__mark { color: var(--c-clay); }
.brand--footer .brand__name { color: var(--c-cream); }
.brand--footer .brand__sub { color: var(--c-stone); }
.footer__desc {
  font-size: 14px;
  margin-top: 20px;
  max-width: 340px;
  color: var(--c-stone);
  line-height: 1.55;
}
.footer__col h4 {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 0 0 18px;
}
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.footer__col li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.55;
}
.footer__col a:hover { color: var(--c-clay); }
.footer__base {
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(199,186,164,.7);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,18,14,.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(239,230,216,.3);
  color: var(--c-cream);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: rgba(239,230,216,.12);
  border-color: var(--c-cream);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 32px; line-height: 1; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__caption {
  position: absolute; bottom: 24px;
  color: var(--c-stone);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Responsive nav */
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar__inner { height: 64px; }
  .brand__sub { display: none; }
}
@media (max-width: 500px) {
  .topbar__actions .btn { padding: 12px 18px; font-size: 13px; }
  .topbar__actions .lang__btn { padding: 7px 11px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
