/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #080808;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,0.08);
}
/* Logo always visible. JS adds .logo-hidden on front page only before scroll. */
.nav-logo {
  width: 72px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-logo.logo-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links li a {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s;
}
.nav-links li a:hover { color: #ffffff; }
.nav-cta {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #080808; background: #ffffff; text-decoration: none;
  padding: 0.65rem 1.6rem; transition: background 0.2s;
}
.nav-cta:hover { background: #d4d4d4; }

/* ── BUTTONS ── */
.btn-solid {
  background: #ffffff; color: #080808;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2.5rem; text-decoration: none;
  display: inline-block; transition: background 0.2s; white-space: nowrap;
}
.btn-solid:hover { background: #d4d4d4; color: #080808; }
.btn-outline {
  background: transparent; color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2.5rem; text-decoration: none; display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s; white-space: nowrap;
}
.btn-outline:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: brightness(0.38);
  transform: scale(1.08);
  animation: heroZoom 9s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  animation: heroFade 0.8s 0.2s ease both; padding: 0 1.5rem;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  width: min(440px, 70vw); margin-bottom: 2rem;
  filter: drop-shadow(0 4px 40px rgba(0,0,0,0.9));
}
.hero-tagline {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  animation: scrollBounce 2.8s ease-in-out infinite; opacity: 0.45;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.hero-scroll span { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.hero-scroll-bar { width: 1px; height: 32px; background: rgba(255,255,255,0.45); }

/* ── STAT BAR ── */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0d0d0d;
}
.stat {
  padding: 2.2rem 2.5rem; border-right: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat:last-child { border-right: none; }
.stat.in { opacity: 1; transform: none; }
.stat:nth-child(2) { transition-delay: 0.1s; }
.stat:nth-child(3) { transition-delay: 0.2s; }
.stat:nth-child(4) { transition-delay: 0.3s; }
.stat-n { font-size: 2.8rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #ffffff; }
.stat-l { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.4rem; }

/* ── TILES ── */
.tiles {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 500px 320px;
  gap: 3px; background: #1a1a1a;
}
.tile { position: relative; overflow: hidden; }
.tile-wide { grid-column: 1 / -1; }
.tile-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
  transition: transform 1s cubic-bezier(.25,.46,.45,.94), filter 0.8s ease;
}
.tile:hover .tile-img { transform: scale(1.05); filter: brightness(0.6); }
.tile-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.tile-num {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 0.6rem;
}
.tile-title {
  font-size: 2.4rem; font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 0.5rem; color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tile.in .tile-title { opacity: 1; transform: none; }
.tile:nth-child(2) .tile-title { transition-delay: 0.1s; }
.tile:nth-child(3) .tile-title { transition-delay: 0.2s; }
.tile-desc {
  font-size: 0.88rem; font-weight: 300; color: rgba(255,255,255,0.7);
  line-height: 1.6; margin-bottom: 1.1rem; max-width: 480px;
}
.tile-link {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.35); padding-bottom: 3px;
  display: inline-block; transition: color 0.2s, border-color 0.2s;
}
.tile:hover .tile-link { color: #ffffff; border-color: #ffffff; }

/* ── ABOUT ── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* about-photo — full image shown, no cropping, dark bg fills any letterbox gap */
.about-photo-wrap {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 1.1s ease;
  max-height: 700px; /* caps extreme tall images on desktop */
}
.about-photo-wrap.in img { opacity: 1; }

.about-words {
  padding: 5.5rem 4rem; background: #0d0d0d;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.about-words.in { opacity: 1; transform: none; }
.eyebrow {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #ffffff; display: block; }
.about-words h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.4rem; color: #ffffff;
}
.about-words p {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 2.5rem;
}

/* ── REVIEWS ── */
.reviews { border-bottom: 1px solid rgba(255,255,255,0.08); background: #080808; }
.rev-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.8rem 3rem 2.2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rev-head h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.rev-head span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.25); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.rcard {
  padding: 2.8rem 2.5rem; border-right: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rcard:last-child { border-right: none; }
.rcard.in { opacity: 1; transform: none; }
.rcard:nth-child(2) { transition-delay: 0.12s; }
.rcard:nth-child(3) { transition-delay: 0.24s; }
.rcard-stars { font-size: 0.8rem; color: #ffffff; letter-spacing: 0.15em; margin-bottom: 1.3rem; }
.rcard-text { font-size: 1rem; font-weight: 300; font-style: italic; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 1.8rem; }
.rcard-who { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* ── BOTTOM CTA ── */
.bottom { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.bottom-left { position: relative; overflow: hidden; border-right: 1px solid rgba(255,255,255,0.08); }
.bottom-left-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.28); transition: filter 0.8s ease;
}
.bottom-left:hover .bottom-left-bg { filter: brightness(0.42); }
.bottom-left-copy {
  position: relative; z-index: 1; padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.bottom-left h2 { font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; }
.bottom-right { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; background: #0d0d0d; }
.follow-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.5rem; }
.follow-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none; color: rgba(255,255,255,0.55);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s;
}
.follow-row:hover { color: #ffffff; }
.follow-row span { opacity: 0.4; font-size: 1rem; }

/* ── FOOTER ── */
footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 3rem; border-top: 1px solid rgba(255,255,255,0.08); background: #080808;
}
.foot-logo { width: 60px; opacity: 0.25; }
.foot-nav { display: flex; gap: 2.2rem; list-style: none; }
.foot-nav li a {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,0.22); transition: color 0.2s;
}
.foot-nav li a:hover { color: rgba(255,255,255,0.7); }
.foot-copy { font-size: 0.6rem; color: rgba(255,255,255,0.15); }

/* ── INNER PAGES ── */
.site-content { padding: 8rem 3rem 5rem; min-height: 60vh; background: #080808; }
.container { max-width: 1100px; margin: 0 auto; }
.entry-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2rem; }
.entry-thumbnail { margin-bottom: 2.5rem; }
.entry-content { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.7); line-height: 1.9; }
.entry-content h2, .entry-content h3 { font-weight: 700; margin: 2rem 0 1rem; letter-spacing: -0.01em; }
.entry-content p { margin-bottom: 1.4rem; }
.entry-content a { color: #ffffff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.archive-header { margin-bottom: 3rem; }
.archive-header h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 3px; background: #1a1a1a; margin-bottom: 4rem; }
.post-card { background: #080808; overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(0.7); transition: filter 0.4s; }
.post-card:hover .post-thumb img { filter: brightness(0.9); }
.post-card-body { padding: 2rem; }
.post-meta { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 0.75rem; }
.post-meta a { color: inherit; text-decoration: none; }
.post-card-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.75rem; line-height: 1.2; }
.post-card-title a { text-decoration: none; color: #ffffff; }
.post-excerpt { font-size: 0.88rem; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.75; margin-bottom: 1.4rem; }
.read-more { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.2); padding-bottom: 2px; }
.pagination { display: flex; justify-content: center; gap: 0.75rem; padding: 2.5rem 0; }
.pagination .page-numbers { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); text-decoration: none; padding: 0.55rem 1rem; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.2s, color 0.2s; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { color: #ffffff; border-color: rgba(255,255,255,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

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

  /* Tiles stack as equal-height cards */
  .tiles {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .tile { min-height: 280px; }
  .tile-wide { grid-column: 1; }

  /* About: photo on top, text below — no blank box */
  .about { grid-template-columns: 1fr; }
  .about-photo-wrap {
    max-height: none; /* let image breathe on mobile */
  }
  .about-photo-wrap img {
    max-height: none;
    height: auto; /* natural height — zero cropping */
  }
  .about-words {
    padding: 3rem 2rem;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: none; /* skip slide-in on mobile */
  }

  .rev-grid { grid-template-columns: 1fr; }
  .rcard { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .bottom { grid-template-columns: 1fr; }
  .bottom-left { min-height: 300px; }
  .bottom-left-copy { padding: 3.5rem 2rem; }
  .bottom-right { padding: 3.5rem 2rem; }

  footer { flex-direction: column; gap: 1.2rem; text-align: center; padding: 2rem 1.5rem; }
  .site-content { padding: 6rem 1.5rem 3rem; }
}

/* ── WPFORMS DARK THEME OVERRIDES ── */
/* WPForms injects its own light stylesheet — override everything to match the dark theme */
.wpforms-container,
.wpforms-form,
.wpforms-field,
.wpforms-field-container {
  color: #ffffff !important;
  background: transparent !important;
}

/* Labels */
.wpforms-field-label,
.wpforms-field-sublabel,
.wpforms-field-description,
.wpforms-field label,
.wpforms-form label {
  color: rgba(255,255,255,0.7) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Inputs, textareas, selects */
.wpforms-field input,
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field input[type="url"],
.wpforms-field textarea,
.wpforms-field select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 300 !important;
  padding: 0.85rem 1rem !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  border-color: rgba(255,255,255,0.5) !important;
  background: rgba(255,255,255,0.08) !important;
}

/* Placeholder text */
.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
  color: rgba(255,255,255,0.25) !important;
}

/* Submit button */
.wpforms-submit-container .wpforms-submit,
button[type="submit"].wpforms-submit {
  background: #ffffff !important;
  color: #080808 !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 1rem 2.5rem !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  box-shadow: none !important;
}
.wpforms-submit-container .wpforms-submit:hover {
  background: #d4d4d4 !important;
}

/* Error messages */
.wpforms-error-container,
.wpforms-field .wpforms-error,
label.wpforms-error {
  color: #ff6b6b !important;
  font-size: 0.75rem !important;
  background: transparent !important;
  border: none !important;
}

/* Success / confirmation message */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  padding: 2rem !important;
}

/* Required asterisk */
.wpforms-required-label {
  color: rgba(255,255,255,0.4) !important;
}

/* Page break / progress bar if used */
.wpforms-page-indicator-page-title,
.wpforms-page-indicator-steps {
  color: rgba(255,255,255,0.6) !important;
}
