/* Funnel landing pages — shared layout. Relies on tokens + base type from styles.css */

.fn-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px clamp(22px, 4vw, 56px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.fn-back {
  color: var(--muted-bone);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.31em;
  text-decoration: none;
  text-transform: uppercase;
}

.fn-back:hover {
  color: #fff5dc;
}

/* Hero */
.fn-hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 120px) 84px;
  position: relative;
}

.fn-hero-image {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.fn-hero-image img {
  filter: saturate(0.78) contrast(1.18) brightness(0.66);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fn-hero-image::before {
  background:
    linear-gradient(92deg, rgba(11, 11, 11, 0.96) 0%, rgba(11, 11, 11, 0.74) 40%, rgba(11, 11, 11, 0.36) 72%, rgba(11, 11, 11, 0.82) 100%),
    linear-gradient(0deg, rgba(11, 11, 11, 0.94) 0%, rgba(11, 11, 11, 0.14) 46%, rgba(11, 11, 11, 0.7) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.fn-hero-inner {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.fn-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  letter-spacing: 0.16em;
  margin-bottom: 24px;
}

.fn-lead {
  color: var(--ash);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 480px;
}

.fn-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

a.primary-action,
a.secondary-action {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.fn-trustline {
  color: var(--muted-bone);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  list-style: none;
  margin: 40px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.fn-trustline li {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fn-trustline li::before {
  color: var(--brass);
  content: "— ";
}

/* Generic sections */
.fn-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 7vw, 120px);
}

.fn-section-head {
  margin-bottom: 52px;
  max-width: 760px;
}

.fn-section h2 {
  color: #f1dec0;
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  line-height: 1.16;
  margin-bottom: 0;
}

.section-kicker {
  color: var(--brass);
  display: block;
  margin-bottom: 18px;
}

/* Story */
.fn-story {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.fn-story h2 {
  margin-bottom: 0;
}

.fn-story-body p {
  color: var(--ash);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.92;
  margin-bottom: 22px;
  max-width: 560px;
}

.fn-story-body p:last-child {
  margin-bottom: 0;
}

.fn-pull {
  color: #f1dec0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.85rem) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4 !important;
}

/* Objects */
.fn-objects-section {
  background: var(--coal);
  border-top: 1px solid var(--line);
}

.fn-objects {
  display: grid;
  gap: clamp(18px, 2vw, 30px);
  grid-template-columns: repeat(3, 1fr);
}

.fn-card {
  border: 1px solid var(--line);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 240ms ease, transform 240ms ease;
}

.fn-card:hover {
  border-color: rgba(184, 154, 90, 0.55);
  transform: translateY(-3px);
}

.fn-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.fn-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.fn-card:hover .fn-card-image img {
  transform: scale(1.04);
}

.fn-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}

.fn-card-meta {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.fn-card-meta span {
  color: var(--muted-bone);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fn-card-meta strong {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.fn-card h3 {
  color: #f1dec0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.fn-card p {
  color: var(--ash);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

.fn-card-link {
  color: var(--brass);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  margin-top: auto;
  padding-top: 8px;
  text-transform: uppercase;
}

/* Trust strip */
.fn-trust {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) clamp(22px, 7vw, 120px);
}

.fn-trust dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.fn-trust div {
  border-left: 1px solid var(--line);
  padding: 6px 0 6px 26px;
}

.fn-trust div:first-child {
  border-left: 0;
  padding-left: 0;
}

.fn-trust dt {
  color: var(--brass);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.fn-trust dd {
  color: var(--ash);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.74;
  margin: 0;
}

/* Closing CTA */
.fn-cta {
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 120px);
  text-align: center;
}

.fn-cta h2 {
  color: #f1dec0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.12;
  margin: 0 auto 22px;
  max-width: 14ch;
}

.fn-cta p {
  color: var(--ash);
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.85;
  margin: 0 auto 36px;
  max-width: 460px;
}

.fn-cta .fn-actions {
  justify-content: center;
}

/* Footer */
.fn-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 40px clamp(22px, 7vw, 120px);
}

.fn-footer p {
  color: var(--muted-bone);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.31em;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .fn-story {
    grid-template-columns: 1fr;
  }
  .fn-objects {
    grid-template-columns: 1fr 1fr;
  }
  .fn-trust dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fn-trust div,
  .fn-trust div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }
  .fn-trust div:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .fn-objects {
    grid-template-columns: 1fr;
  }
  .fn-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
