/* ============================================================
   sections.css — Hero, Trust Strip, Footer, Page Heroes
   Depends on: style.css + components.css
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────────── */
/* Architecture: absolute positioned photo on right half, text flows left */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; padding-bottom: 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center bottom;
  will-change: transform;
}

/* Overlay: covers LEFT text column only (width 60%) */
.hero__overlay {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 60%;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(13,13,15,.97) 0%,
    rgba(13,13,15,.92) 55%,
    rgba(13,13,15,.40) 80%,
    transparent 100%
  );
}

/* Grain: left column only */
.hero__grain {
  position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: 3; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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; pointer-events: none;
}

/* Photo: absolutely positioned right half — fully independent of text */
.hero__photo-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44%;
  z-index: 5;
  overflow: hidden;
}
.hero__photo-frame { position: relative; width: 100%; height: 100%; }
.hero__photo-frame::before,
.hero__photo-frame::after { display: none !important; }
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  filter: brightness(1.15) contrast(1.02);
}
.hero__photo-tag {
  position: absolute; bottom: 24px; left: 24px; right: 0; z-index: 6;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 10px;
}
.hero__photo-tag::before { content: ''; flex: 0 0 32px; height: 1px; background: rgba(255,255,255,.3); }

/* Text block: flows left, max 55% width */
.hero__inner {
  position: relative; z-index: 4;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  width: 100%;
  display: block;
  padding-top: calc(var(--header-h) + 72px);
  max-width: 55%;
}
.hero__content { padding: 72px 0 80px; position: relative; z-index: 4; }

/* Hero badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,168,76,.25); padding: 10px 18px;
  margin-bottom: 40px; backdrop-filter: blur(8px);
  opacity: 0; animation: fadeUp .8s var(--ease-out) .1s forwards;
  white-space: nowrap; max-width: 100%;
}
.hero__badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }

/* H1 line animation */
.hero__h1 { margin-bottom: 28px; overflow: visible; }
.hero__h1-line { display: block; overflow: visible; }
.hero__h1-inner { display: block; transform: translateY(110%); animation: lineReveal 1s var(--ease-out) forwards; opacity: 0; }
.hero__h1-line:nth-child(1) .hero__h1-inner { animation-delay: .25s; }
.hero__h1-line:nth-child(2) .hero__h1-inner { animation-delay: .4s; }
.hero__h1-line:nth-child(3) .hero__h1-inner { animation-delay: .55s; }

.hero__sub {
  max-width: 540px; margin-bottom: 48px;
  color: rgba(255,255,255,.58); font-size: clamp(15px,1.4vw,18px);
  line-height: 1.75; font-weight: 300;
  opacity: 0; animation: fadeUp .9s var(--ease-out) .7s forwards;
}
.hero__ctas {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .85s forwards;
}
.hero__divider { width: 280px; height: 1px; background: rgba(255,255,255,.12); margin: 32px 0; }
.hero__meta { display: flex; gap: 0; flex-wrap: wrap; }
.hero__meta-item { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.12); }
.hero__meta-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.38); display: block; margin-bottom: 5px; }
.hero__meta-val { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1; }

/* Scroll indicator */
.scroll-ind { position: absolute; bottom: 32px; left: var(--gutter); z-index: 4; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.35); animation: fadeIn 1s var(--ease-out) 1.5s both; }
.scroll-ind__line { width: 48px; height: 1px; background: linear-gradient(to right, rgba(255,255,255,.35), transparent); }

/* ── TRUST STRIP ─────────────────────────────────────────────── */
.trust-strip { background: var(--slate); position: relative; overflow: hidden; }
.trust-strip::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-stat { padding: 64px 48px; position: relative; overflow: hidden; transition: background .4s; }
.trust-stat::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: var(--rule-dark); }
.trust-stat:last-child::after { display: none; }
.trust-stat:hover { background: rgba(255,255,255,.03); }
.trust-stat__ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(201,168,76,.1); pointer-events: none; }
.trust-stat__context { font-family: var(--font-mono); font-size: 8px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.35); display: block; margin-bottom: 12px; }
.trust-stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px,5.5vw,80px); line-height: .95; color: var(--white); letter-spacing: -.04em; position: relative; z-index: 1; display: block; margin-bottom: 16px; }
.trust-stat__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); line-height: 1.6; position: relative; z-index: 1; }
.trust-stat__bar { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.trust-stat:hover .trust-stat__bar { transform: scaleX(1); }

/* ── CTA STRIP ───────────────────────────────────────────────── */
.cta-strip { padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.cta-strip__bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--slate) 0%, var(--ink) 100%); }
.cta-strip__grain { position: absolute; inset: 0; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px; }
.cta-strip__inner { position: relative; z-index: 1; }
.cta-strip__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px,5vw,76px); color: var(--white); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-strip__title em { font-style: italic; color: var(--gold); }
.cta-strip__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 112px) 0 112px; min-height: 60vh; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,13,15,.97) 40%, rgba(13,13,15,.6) 100%); }
.page-hero__grain { position: absolute; inset: 0; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px; }
.page-hero__inner { position: relative; z-index: 1; max-width: 840px; }
.page-hero__h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px,5.5vw,84px); line-height: 1.02; letter-spacing: -.025em; color: var(--white); margin-bottom: 28px; }
.page-hero__h1 em { font-style: italic; color: var(--gold); }
.page-hero__sub { font-size: clamp(15px,1.4vw,19px); line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.52); max-width: 640px; margin-bottom: 44px; }
.page-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── ABOUT HERO SPLIT ────────────────────────────────────────── */
.about-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 72vh; margin-top: var(--header-h); }
.about-hero-photo { position: relative; overflow: hidden; }
.about-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; filter: brightness(1.15) contrast(1.02); }
.about-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,15,.5) 0%, transparent 55%); }
.about-hero-content { background: var(--slate); padding: 88px 80px; display: flex; flex-direction: column; justify-content: center; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 100px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 56px; padding-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; text-decoration: none; }
.footer-logo__img { height: 56px; width: auto; display: block; object-fit: contain; object-position: left center; }
.footer-logo__mark { display: none; }
.footer-logo__name { display: none; }
.footer-tagline { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.footer-address { font-size: 12px; line-height: 1.75; color: rgba(255,255,255,.42); font-style: normal; }
.footer-heading { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.footer-heading::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.58); text-decoration: none; transition: color .2s, padding-left .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ''; width: 12px; height: 1px; background: rgba(201,168,76,.4); transition: width .3s var(--ease-out); flex-shrink: 0; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a:hover::before { width: 18px; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.footer-contact-label { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 5px; display: block; }
.footer-contact-list a { font-size: 13.5px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; display: block; }
.footer-contact-list a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.footer-copy { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.45); }
.footer-linkedin { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.42); text-decoration: none; transition: color .2s; }
.footer-linkedin:hover { color: var(--gold); }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 88px; }
.contact-info-block { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.contact-info-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.contact-label { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--light); margin-bottom: 10px; display: block; }
.contact-value { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.contact-value a { color: var(--ink); text-decoration: none; transition: color .2s; }
.contact-value a:hover { color: var(--gold); }
