/* ============================================================
   TOLLELITE K9 — HERO CSS
   Premium editorial typography. Atmospheric dark. Mobile-first.
   ============================================================ */

/* ── PRELOADER ── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0C0F1A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pre-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: preFadeIn 0.8s ease forwards;
}
@keyframes preFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pre-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(42px, 10vw, 72px);
  letter-spacing: 0.04em;
  color: rgba(232, 236, 244, 0.92);
  line-height: 1;
  text-align: center;
}
.pre-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(200, 208, 220, 0.35);
  text-align: center;
}
.pre-spinner {
  margin-top: 32px;
}
.pre-spinner svg {
  width: 36px;
  height: 36px;
}
.pre-arc {
  transform-origin: center;
  transform: rotate(-90deg);
  animation: preArcSpin 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes preArcSpin {
  0%   { stroke-dashoffset: 107; transform: rotate(-90deg); }
  50%  { stroke-dashoffset: 27; }
  100% { stroke-dashoffset: 107; transform: rotate(270deg); }
}


.pre-ring {
  animation: preRing 1.2s ease-in-out forwards;
  transform-origin: center;
  transform: rotate(-90deg);
}
@keyframes preRing {
  0%   { stroke-dashoffset: 138; }
  100% { stroke-dashoffset: 0; }
}

/* ── HERO WRAPPER ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #080C14;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 100px 28px 56px;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ── FULL BLEED BACKGROUND IMAGE ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* The full-bleed photo placeholder — entire hero */
.hero-scene {
  position: absolute;
  inset: 0;
  /* ── HERO IMAGE — drop hero-main.jpg into the /images/ folder ── */
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Uniform dark film over the whole image — keeps text readable without any directional fades */
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, 0.5);
}

/* Noise grain — luxury texture */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Photo slot covers full hero */
.hero-panel { display: none; }
.hero-panel--left { display: none; }
.hero-panel--right { display: none; }
.hero-panel-fade--right { display: none; }
.hero-panel-fade--left { display: none; }

/* Bottom-only gradient — anchors text, no left fade */
.hero-cinematic-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(6,9,16,0.72) 0%,
      rgba(6,9,16,0.30) 25%,
      rgba(6,9,16,0.05) 55%,
      transparent 80%
    );
}

/* Photo placeholder label — top right */
.hero-photo-label {
  display: none;
}

/* Bottom vignette — anchors into the about section */
.hero-vignette {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top,
    rgba(6,9,16,0.35) 0%,
    rgba(6,9,16,0.15) 35%,
    transparent 100%
  );
}

/* ── EYEBROW ── */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
}
.hero-rule {
  width: 28px;
  height: 1px;
  background: rgba(200,208,220,0.35);
  flex-shrink: 0;
}
/* Hide second rule — left-aligned doesn't need symmetric brackets */
.hero-eyebrow .hero-rule:last-child { display: none; }
.hero-eyebrow-text {
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(200, 208, 220, 0.45);
}

/* ── MAIN HEADLINE — Film poster scale ── */
.hero-h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  opacity: 0;
  /* Max width so it doesn't run edge to edge on huge screens */
  max-width: 680px;
}

/* Display — Playfair, bold, left-flush */
.hero-display {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 66px);
  line-height: 1.05;
  color: rgba(255,255,255,0.94);
  letter-spacing: -0.02em;
  display: block;
}

/* The closing line — italic, quieter, Laura's confident sign-off */
/* Middle line — slightly smaller than main display, italic */
.hero-display--mid {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 3.8vw, 46px);
  color: rgba(255,255,255,0.92);
  margin: 2px 0 0;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}

.hero-display--accent {
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 5vw, 58px);
  color: rgba(255,255,255,0.70);
  margin-top: 6px;
  letter-spacing: -0.02em;
}

/* Middle italic line — same font family, italic weight */
.hero-scripture {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  display: block;
  margin: 4px 0 4px 0;
}

/* ── HERO COPY ── */
.hero-copy {
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(200, 210, 228, 0.72);
  max-width: 400px;
  margin: 0 0 32px;
  opacity: 0;
}
.hero-copy strong {
  color: rgba(240, 244, 255, 0.85);
  font-weight: 500;
}

/* ── HERO ACTIONS ── */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0;
  opacity: 0;
}

/* Primary CTA */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #080C14;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 1px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(.16,1,.3,1);
}
.btn-hero-primary .btn-line1,
.btn-hero-primary .btn-line2 {
  display: block;
  line-height: 1.4;
}
.btn-hero-primary .btn-line1 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
}
.btn-hero-primary .btn-line2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: none;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.btn-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.btn-hero-primary > span:not(.btn-line1):not(.btn-line2) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.btn-hero-primary:hover {
  background: #F0E4C4;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.btn-hero-primary svg { transition: transform 0.3s ease; }
.btn-hero-primary:hover svg { transform: translateX(4px); }

/* Ghost CTA */
.btn-hero-ghost {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(200,210,228,0.45);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(200,210,228,0.14);
  transition: all 0.25s ease;
}
.btn-hero-ghost:hover {
  color: rgba(240,228,196,0.8);
  border-bottom-color: rgba(240,228,196,0.25);
}

/* ── ORNAMENT — tiny, below content ── */
.hero-ornament {
  display: none; /* hidden on mobile to keep it clean */
}
.ornament-line { display: none; }

/* ── TRUST BAR — integrated credential band ── */
.hero-trust {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 11, 22, 0.96);
  border-top: 1px solid rgba(200, 215, 240, 0.08);
  opacity: 0;
  flex-shrink: 0;
}

/* Vertical dividers via box-shadow on items */
.hero-trust-item {
  padding: 28px 20px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  position: relative;
  border-right: 1px solid rgba(200, 215, 240, 0.06);
  transition: background 0.3s ease;
}
.hero-trust-item:last-child {
  border-right: none;
}
.hero-trust-item:hover {
  background: rgba(255,255,255,0.02);
}

/* Hide old sep elements */
.hero-trust-sep { display: none; }

/* Large number — left side of each cell */
.hero-trust-n {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 1px;
}

/* Star — silver to match brand */
.trust-star {
  font-size: 0.55em;
  color: #C8D4E8;
  line-height: 1;
  margin-right: 1px;
}

/* Label — stacked below in a separate element */
.hero-trust-l {
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(180, 195, 220, 0.35);
  line-height: 1.4;
}

/* Mobile — stack vertically, 2x2 grid */
@media (max-width: 639px) {
  .hero-cinematic-fade {
    background: linear-gradient(to top,
      rgba(6,9,16,0.40) 0%,
      rgba(6,9,16,0.08) 25%,
      transparent 50%
    ) !important;
  }
  .hero-vignette {
    height: 25%;
    background: linear-gradient(to top,
      rgba(6,9,16,0.15) 0%,
      transparent 100%
    );
  }
}

@media (max-width: 639px) {
  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }
  .hero-trust-item {
    padding: 20px 16px;
    gap: 12px;
    border-bottom: 1px solid rgba(200, 215, 240, 0.06);
  }
  .hero-trust-item:nth-child(3),
  .hero-trust-item:nth-child(4) {
    border-bottom: none;
  }
  .hero-trust-n {
    font-size: clamp(24px, 6vw, 32px);
  }
  .hero-content {
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .hero {
    min-height: auto;
  }
  .hero-h1 {
    margin-bottom: 20px;
  }
  .hero-h1 {
    margin-bottom: 16px;
  }
  .hero-copy {
    font-size: 13px;
    margin: 0 0 20px;
  }
  .hero-actions {
    gap: 12px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-trust-item { padding: 24px 16px; gap: 14px; }
  .hero-trust-n { font-size: clamp(26px, 3.5vw, 36px); }
}

@media (min-width: 1024px) {
  .hero-trust-item { padding: 30px 28px; gap: 18px; }
}

/* ── SCROLL INDICATOR ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 100px;
  left: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeInScroll 1s ease 2.2s forwards;
}
.hero-scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(200,210,228,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(240,228,196,0.5);
  animation: scrollPulse 2.5s ease-in-out 2.5s infinite;
}
.hero-scroll-text {
  font-family: 'Raleway', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(200,210,228,0.25);
}
@keyframes fadeInScroll {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

@media (min-width: 768px) {
  .hero-scroll-hint {
    bottom: 110px;
    left: 72px;
  }
}

/* ── CINEMATIC VERTICAL LABEL — right edge ── */
.hero-vert-label {
  display: none; /* mobile hidden */
  position: absolute;
  right: 32px;
  bottom: 120px;
  z-index: 3;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.hero-vert-label span {
  font-family: 'Raleway', sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200,210,228,0.2);
}

@media (min-width: 1024px) {
  .hero-vert-label {
    display: block;
  }
}
  .hero-content {
    padding: 110px 72px 40px;
    max-width: 1200px;
    margin: 0 auto;
    /* On desktop the full 1200px container, still bottom-left */
  }

  .hero-cinematic-fade {
    background:
      linear-gradient(to right,
        rgba(6,9,16,0.98) 0%,
        rgba(6,9,16,0.9)  30%,
        rgba(6,9,16,0.55) 55%,
        rgba(6,9,16,0.1)  80%,
        rgba(6,9,16,0.05) 100%
      ),
      linear-gradient(to top,
        rgba(6,9,15,0.45) 0%,
        rgba(6,9,16,0.2)  25%,
        transparent 50%
      );
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .hero-photo-label {
    top: 100px;
    right: 60px;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding: 110px 80px 40px;
  }
}

/* ── ABOUT TEASER ── */
.about-teaser {
  background: #F5F7FA;
  padding: 72px 0;
}
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.about-photos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-photo-main {
  height: 300px;
}
.about-photos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-photo-sm {
  height: 180px;
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: #0C0F1A;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  color: rgba(200,208,220,0.3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-track .marquee-sep {
  font-style: normal;
  font-size: 12px;
  color: rgba(200,208,220,0.1);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

/* ══ DESKTOP LAYOUTS ══ */
@media (min-width: 768px) {
  .about-teaser { padding: 110px 0; }
  .about-inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }
  .about-photos { flex: 0 0 44%; }
  .about-photo-main { height: 380px; }
  .about-photo-sm { height: 220px; }
  .about-text { flex: 1; }
}
