/* CRC public site — standalone visual system */
body.page-public {
  margin: 0;
  background: #f7f5f1;
  color: #101820;
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.page-public a { color: inherit; text-decoration: none; }
body.page-public img { max-width: 100%; display: block; }

.pub-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.55) 0%, transparent 100%);
  pointer-events: none;
}
.pub-nav > * { pointer-events: auto; }
.pub-nav-brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.pub-nav-cta {
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.pub-nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  text-decoration: none !important;
}

/* Hero: full-bleed */
.pub-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.pub-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pub-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: pubKen 18s ease-out forwards;
}
.pub-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 14, 24, 0.35) 0%, rgba(8, 14, 24, 0.15) 35%, rgba(8, 14, 24, 0.78) 100%);
}
.pub-hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: clamp(100px, 16vh, 140px) clamp(18px, 4vw, 48px) clamp(48px, 8vh, 72px);
  animation: pubRise 0.9s ease-out both;
}
.pub-hero-logo {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
}
.pub-hero h1 {
  margin: 0 0 14px;
  max-width: 13ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.35rem, 6.2vw, 4rem);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.pub-hero-inner > p {
  margin: 0 0 26px;
  max-width: 32rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
}
.pub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #101820 !important;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease;
}
.pub-btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
  background: #f0ece4;
}
.pub-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.5);
}
.pub-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.pub-btn-dark {
  background: #101820;
  color: #fff !important;
}
.pub-btn-dark:hover { background: #1c2a3c; }

.pub-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7a52;
}
.pub-label-light { color: rgba(255,255,255,0.7); }

.pub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: min(72vh, 620px);
  background: #f7f5f1;
}
.pub-split-rev .pub-split-copy { order: 2; }
.pub-split-rev .pub-split-media { order: 1; }
.pub-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
}
.pub-split-copy h2 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pub-split-copy > p {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5563;
}
.pub-split-media {
  margin: 0;
  overflow: hidden;
  min-height: 320px;
}
.pub-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pub-list li {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #4a5563;
}
.pub-list strong {
  color: #101820;
  font-weight: 650;
}

.pub-band {
  position: relative;
  min-height: min(56vh, 480px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.pub-band-media {
  position: absolute;
  inset: 0;
}
.pub-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-band-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.55);
}
.pub-band-inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 80px) clamp(22px, 5vw, 64px);
  max-width: 720px;
}
.pub-band-inner h2 {
  margin: 0 0 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.pub-band-inner p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}

.pub-contact {
  padding: clamp(56px, 10vw, 96px) clamp(22px, 5vw, 64px);
  background: #fff;
}
.pub-contact h2 {
  margin: 0 0 10px;
  max-width: 16ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.pub-mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #9a7a52 !important;
  letter-spacing: -0.01em;
}
.pub-mail:hover { text-decoration: underline !important; }

.pub-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 22px clamp(22px, 5vw, 64px);
  background: #101820;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}
.pub-foot span:first-child {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

@keyframes pubKen {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}
@keyframes pubRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.pub-motion .pub-split,
html.pub-motion .pub-band,
html.pub-motion .pub-contact {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.pub-motion .pub-split.is-in,
html.pub-motion .pub-band.is-in,
html.pub-motion .pub-contact.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .pub-split,
  .pub-split-rev {
    grid-template-columns: 1fr;
  }
  .pub-split-rev .pub-split-copy,
  .pub-split-rev .pub-split-media { order: initial; }
  .pub-split-media { min-height: 260px; max-height: 360px; }
  .pub-hero h1 { max-width: 14ch; }
  .pub-nav-brand img { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pub-hero-media img { animation: none; transform: none; }
  .pub-hero-inner { animation: none; }
}
