/* ── Variables ────────────────────────────────────────────────── */
:root {
  --tan:   #bfa691;
  --gray:  #303841;
  --white: #f0f0f0;
  --nav-h: 60px;
}

/* ── Reset ────────────────────────────────────────────────────── */
.loading-info { display: none !important; visibility: hidden !important; }

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray);
  overflow-x: hidden;
}

ul  { list-style: none; }
a   { text-decoration: none; }
img { display: block; width: 100%; }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--tan);
  z-index: 100;
  padding: 0 3rem;
  box-shadow: none;
  transition: box-shadow 0.3s;
}

.nav--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.nav-title {
  white-space: nowrap;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  background: var(--tan);
  display: flex;
  align-items: center;
  padding: var(--nav-h) 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFade 0.7s ease 0.15s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(5rem, 9.5vw, 12.5rem);
  font-weight: 100;
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-title span {
  display: block;
  opacity: 0;
  animation: heroFade 0.7s ease forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.35s; }
.hero-title span:nth-child(2) { animation-delay: 0.55s; }

/* Two CTAs side by side */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  margin-top: 4rem;
  opacity: 0;
  animation: heroFade 0.7s ease 0.75s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.hero-cta:hover { color: #fff; }

.hero-cta--ghost {
  color: rgba(255, 255, 255, 0.45);
}
.hero-cta--ghost:hover { color: rgba(255, 255, 255, 0.8); }

.hero-cta-arrow {
  display: inline-block;
  animation: arrowBob 2s ease-in-out infinite;
}

/* Watermark year */
.hero-year {
  position: absolute;
  right: 3rem;
  bottom: -1rem;
  font-size: clamp(14rem, 28vw, 36rem);
  font-weight: 100;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.1);
  user-select: none;
  pointer-events: none;
  opacity: 0;
  animation: heroFade 1s ease 0.7s forwards;
}

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

@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Catalogue / Flipbook ─────────────────────────────────────── */
.projects-section {
  text-align: center;
  padding: 80px 0 40px;
  background: var(--tan);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.book-container {
  position: relative;
  width: 90%;
  max-width: 1100px;
  height: 70vh;
  border-radius: 4px;
  background: var(--tan);
  overflow: hidden;
}

#book_pdf { height: 100% !important; width: 100% !important; }

/* ── PDF loader ───────────────────────────────────────────────── */
.pdf-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tan);
  z-index: 10;
}

.pdf-loader-inner {
  text-align: center;
  width: 60%;
  max-width: 380px;
}

.pdf-loader-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.pdf-progress-track {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.pdf-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  width: 0%;
  transition: width 0.25s ease;
}

.pdf-progress-pct {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  margin-top: 0.8rem;
}

/* ── Contact section ──────────────────────────────────────────── */
.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 50vh;
  padding: 6rem 2rem;
  background: #fff;
  border-top: 1px solid #ddd;
}

.contact-section-header > h2 {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  margin-bottom: 3rem;
  color: #333;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  max-width: 1200px;
  gap: 2.5rem;
  width: 100%;
}

.contact-card {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.contact-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.contact-card ul {
  list-style-type: disc;
  padding-left: 18px;
}

.contact-card li {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #555;
}

.contact-card a {
  color: var(--gray);
  text-decoration: underline;
}

.contact-card a:hover { color: #000; }

/* ── Mobile ───────────────────────────────────────────────────── */
@media only screen and (max-width: 768px) {
  .hero { padding: var(--nav-h) 2.5rem 0; }
  .hero-year { font-size: clamp(8rem, 30vw, 14rem); right: 1rem; }
.projects-section {
    padding: 60px 0 0 !important;
    height: 100vh !important;
    justify-content: center !important;
  }

  .book-container {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 60px) !important;
    border-radius: 0 !important;
  }

  .df-container,
  .df-book-wrapper,
  .df-render-container {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}
