:root {
  --kf-ink: #202938;
  --kf-muted: #5f6874;
  --kf-paper: #f8f7f3;
  --kf-beige: #eee9df;
  --kf-red: #b52b35;
  --kf-border: rgba(32, 41, 56, .14);
  --kf-shadow: 0 18px 45px rgba(32, 41, 56, .12);
}

.kf-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.kf-gallery,
.kf-route-story {
  position: relative;
  overflow: hidden;
  background: var(--kf-paper);
  color: var(--kf-ink);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--kf-border);
}

.kf-gallery::before,
.kf-route-story::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -13rem;
  top: -15rem;
  border: 1px solid rgba(181, 43, 53, .14);
  border-radius: 50%;
  pointer-events: none;
}

.kf-section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.kf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .8rem;
  color: var(--kf-red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kf-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.kf-section-head h2 {
  margin: 0;
  color: var(--kf-ink);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.kf-section-head p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--kf-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.kf-story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.kf-story-card {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--kf-border);
  border-radius: 1.1rem;
  background: #17202c;
  box-shadow: 0 10px 24px rgba(32, 41, 56, .08);
  isolation: isolate;
}

.kf-story-card.kf-story-featured {
  grid-column: span 7;
  min-height: 480px;
}

.kf-story-card.kf-story-wide {
  grid-column: span 5;
}

.kf-story-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.kf-story-card::after {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 32, 44, 0) 0%, rgba(23, 32, 44, .92) 84%);
}

.kf-story-card:hover img { transform: scale(1.045); }

.kf-story-card-body {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
}

.kf-story-index {
  align-self: flex-start;
  margin-bottom: auto;
  padding: .4rem .65rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(20, 28, 39, .55);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.kf-story-card h3 {
  margin: 0 0 .6rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.kf-story-card p {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
  line-height: 1.55;
}

.kf-micro-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  background: var(--kf-beige) !important;
}

.kf-micro-story-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kf-micro-story-copy h3 {
  margin: .75rem 0 .8rem;
  color: var(--kf-ink);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.kf-micro-story-copy p {
  max-width: 34rem;
  margin: 0;
  color: var(--kf-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.kf-micro-story-kicker {
  color: var(--kf-red);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kf-micro-story-image {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--kf-border);
  border-radius: .8rem;
  background: #fff;
}

.kf-micro-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.kf-route-story {
  margin-top: clamp(2.5rem, 5vw, 5rem);
  border-radius: 1.5rem 1.5rem 0 0;
}

.kf-route-story .kf-story-card {
  grid-column: span 3;
  min-height: 330px;
}

.kf-route-story .kf-story-card.kf-story-featured {
  grid-column: span 6;
  min-height: 400px;
}

.kf-contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(181, 43, 53, .22);
  border-radius: .85rem;
  background: rgba(255, 255, 255, .78);
}

.kf-contact-line small {
  display: block;
  margin-bottom: .2rem;
  color: var(--kf-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kf-contact-line a {
  color: var(--kf-red);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 800;
  text-decoration: none;
}

.kf-contact-line .material-symbols-outlined {
  color: var(--kf-red);
  font-size: 2rem;
}

@media (max-width: 900px) {
  .kf-story-card,
  .kf-story-card.kf-story-featured,
  .kf-story-card.kf-story-wide { grid-column: span 6; }
  .kf-route-story .kf-story-card,
  .kf-route-story .kf-story-card.kf-story-featured { grid-column: span 6; }
  .kf-micro-story { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kf-story-card,
  .kf-story-card.kf-story-featured,
  .kf-story-card.kf-story-wide { grid-column: 1 / -1; min-height: 330px; }
  .kf-route-story .kf-story-card,
  .kf-route-story .kf-story-card.kf-story-featured { grid-column: 1 / -1; }
  .kf-story-card.kf-story-featured { min-height: 390px; }
  .kf-contact-line { align-items: flex-start; flex-direction: column; }
}
