/* =========================================================
   GageLog — Landing page styles
   ========================================================= */

/* ── Body ────────────────────────────────────────────────── */

.lp-body {
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Nav ─────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  background: var(--brand);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.lp-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.2px;
}
.lp-nav__brand img {
  height: 26px;
  width: auto;
  border-radius: 4px;
}

.lp-nav__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.lp-nav .btn--outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
.lp-nav .btn--outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(160deg, var(--brand-dark) 0%, #2F88BC 40%, #3FA9D6 100%);
  overflow: hidden;
  text-align: center;
}


.lp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.lp-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.lp-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.lp-hero__title-accent {
  color: var(--teal);
}

.lp-hero__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.lp-hero__cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn--hero {
  padding: 0.7rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
}

.lp-hero .btn--outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
.lp-hero .btn--outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

/* ── Shared section helpers ──────────────────────────────── */

.lp-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-dark);
  background: var(--teal-wash);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.85rem;
}
.lp-section-tag--center { display: block; text-align: center; }

/* Shared aside image style */
.lp-aside-img {
  display: block;
  width: 130px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(31,111,161,.18));
  transition: transform .35s ease;
}
.lp-aside-img:hover { transform: translateY(-5px) rotate(-3deg); }

.lp-aside-img--cloud   { width: 120px; }
.lp-aside-img--fishhead { width: 110px; }
.lp-aside-img--map      { width: 130px; }
.lp-aside-img--map-lg   { width: 205px; }
.lp-aside-img--hat      { width: 140px; }
.lp-aside-img--hat-large { width: 190px; }
.lp-aside-img--thought  { width: 150px; }
.lp-aside-img--holding  { width: 420px; max-width: 100%; }

.lp-shimmer-wrap .lp-aside-img:hover { transform: none; }

/* ── Shimmer wrapper (legacy; retained as a generic effect) ──────── */
.lp-shimmer-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
}
.lp-shimmer-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.55) 50%,
    transparent 65%
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.lp-shimmer-wrap:hover::after {
  transform: translateX(160%) skewX(-15deg);
}

/* ── Story ───────────────────────────────────────────────── */

.lp-story {
  background: var(--surface);
  padding: 5rem 2rem;
  border-bottom: 1.5px solid var(--border);
}

.lp-story__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
}

.lp-story__inner--single,
.lp-mission__inner--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.lp-story__aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-story__aside-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-story__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}

.lp-story__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.lp-story__pullquote {
  font-size: 1.1rem !important;
  font-style: italic;
  color: var(--brand) !important;
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
  margin: 1.75rem 0 !important;
  line-height: 1.6 !important;
}

/* ── Quote ───────────────────────────────────────────────── */

.lp-quote {
  background: var(--brand-dark);
  padding: 3rem 2rem;
  text-align: center;
}

.lp-quote__text {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,.85);
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.6;
  margin: 0 auto 0.75rem;
  max-width: 600px;
}

.lp-quote__attr {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes lp-heat-wave {
  0%   { transform: skewX(0deg)    scaleY(1); }
  12%  { transform: skewX(0.45deg) scaleY(1.002); }
  28%  { transform: skewX(-0.3deg) scaleY(0.999); }
  45%  { transform: skewX(0.5deg)  scaleY(1.001); }
  60%  { transform: skewX(-0.4deg) scaleY(1); }
  78%  { transform: skewX(0.25deg) scaleY(1.002); }
  90%  { transform: skewX(-0.2deg) scaleY(0.999); }
  100% { transform: skewX(0deg)    scaleY(1); }
}

/* ── Mission ─────────────────────────────────────────────── */

.lp-mission {
  background: var(--bg);
  padding: 5rem 2rem;
  border-bottom: 1.5px solid var(--border);
}

.lp-mission__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.lp-mission__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}

.lp-mission__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.lp-mission__scientist-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 1.5rem;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 35%, transparent 100%);
}
.lp-mission__scientist-img:hover {
  animation: lp-heat-wave 2.8s ease-in-out infinite;
}

.lp-mission__aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Features ────────────────────────────────────────────── */

.lp-features {
  background: var(--surface);
  padding: 5rem 2rem;
  border-bottom: 1.5px solid var(--border);
}

.lp-features__inner {
  max-width: 960px;
  margin: 0 auto;
}

.lp-features__heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--brand-dark);
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-feat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.lp-feat-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(94,195,232,.12);
}

.lp-feat-card__img {
  width: auto;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(31,111,161,.12));
  transition: transform .3s ease;
  margin-bottom: 0.25rem;
}
.lp-feat-card:hover .lp-feat-card__img { transform: translateY(-4px) rotate(-3deg); }

.lp-feat-card h3 {
  font-size: 1rem;
  color: var(--brand-dark);
  margin: 0;
}

.lp-feat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── CTA ─────────────────────────────────────────────────── */

.lp-cta {
  position: relative;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2F88BC 60%, #3FA9D6 100%);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.lp-cta__fish {
  position: absolute;
  right: 4rem;
  bottom: 0;
  width: 180px;
  height: auto;
  opacity: .75;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
  animation: lp-fish-bob 4s ease-in-out infinite;
}

@keyframes lp-fish-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}

.lp-cta__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 auto;
}

.lp-cta__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lp-cta__sub {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────────── */

.lp-footer {
  background: var(--brand-dark);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
}

.lp-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: rgba(255,255,255,.9);
}
.lp-footer__brand img { height: 22px; border-radius: 3px; }

.lp-footer__note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.45);
  flex: 1;
}

.lp-footer__link {
  font-size: 0.8125rem;
  color: var(--teal);
  text-decoration: none;
  margin-left: auto;
}
.lp-footer__link:hover { color: #fff; }

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .lp-shimmer-wrap::after { transition: none; }
  .lp-mission__scientist-img:hover { animation: none; }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 800px) {
  .lp-story__inner { grid-template-columns: 1fr; }
  .lp-story__aside { display: none; }
  .lp-mission__inner { grid-template-columns: 1fr; }
  .lp-mission__aside { order: -1; }
  .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-cta__fish { display: none; }
}

@media (max-width: 500px) {
  .lp-hero__title { font-size: 2rem; }
  .lp-nav { padding: 0 1rem; }
  .lp-story, .lp-mission, .lp-features, .lp-cta { padding: 3.5rem 1.25rem; }
}
