/* Full About Block — Luxury Editorial Hero */

.wp-block-propcomm-full-about-block {
  width: 100%;
  /* One viewport-height token so the fixed hero and the content margin below
     it always match. dvh (where supported) tracks the mobile URL bar cleanly. */
  --fab-vh: 100vh;
}

@supports (height: 100dvh) {
  .wp-block-propcomm-full-about-block {
    --fab-vh: 100dvh;
  }
}

/* Full-bleed, pinned background hero — content scrolls up over it. */
.fab__hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--fab-vh);
  z-index: 1;
  background-color: #E8DFD3;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  animation: fab-bg-fade-in 1.2s ease-out forwards;
}

@keyframes fab-bg-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Dark gradient so the heading/text stay legible over any image. */
.fab__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,15,.38) 0%, rgba(10,22,15,.18) 45%, rgba(10,22,15,.55) 100%);
  pointer-events: none;
}

/* Blur layer behind the text — JS fades it (and the text) out on scroll so the
   sharp background image is revealed. */
.fab__hero-blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 22, 15, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: none;
  will-change: opacity;
}

.fab__hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 800px;
  padding: 0 clamp(24px, 6vw, 60px);
}

.fab__hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(24px, 4vw, 48px);
  margin-inline: auto;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  opacity: 0;
  animation: fab-fade-up 0.8s ease-out 1.8s forwards;
}

.fab__hero-scroll-label {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.fab__hero-scroll-icon {
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

.fab__hero-scroll-icon--mouse {
  display: inline-flex;
}

.fab__hero-scroll-icon--touch {
  display: none;
}

.fab__hero-scroll-icon--mouse svg {
  width: 26px;
  height: 44px;
  display: block;
}

.fab__hero-scroll-wheel {
  animation: fab-mouse-wheel 1.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes fab-mouse-wheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  70%, 100% {
    transform: translateY(9px);
    opacity: 0;
  }
}

.fab__hero-scroll-icon--touch svg {
  width: 40px;
  height: 40px;
  display: block;
  animation: fab-touch-bob 1.8s ease-in-out infinite;
}

@keyframes fab-touch-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .fab__hero-scroll {
    gap: 10px;
    bottom: 24px;
  }

  .fab__hero-scroll-icon--mouse {
    display: none;
  }

  .fab__hero-scroll-icon--touch {
    display: inline-flex;
  }
}

@keyframes fab-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fab__hero-heading {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(30px);
  animation: fab-fade-up 0.9s cubic-bezier(.16, 1, .3, 1) 0.9s forwards;
}

/* Matches the front-page hero subheading (SeasonSans 20px / 150%). */
.fab__hero-subheading {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 560px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fab-fade-up 0.9s cubic-bezier(.16, 1, .3, 1) 1.1s forwards;
}

/* Rest of content sections */

.fab__image-wrap {
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
}

.fab__image {
  /* Same width as the whole parallax grid (the esb-section padding centres both
     to --content-inner, so they line up at every breakpoint). */
  max-width: var(--content-max);
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.fab__quote-section {
  background: #f7f2ea;
  margin-top: var(--fab-vh);
  padding: clamp(60px, 8vw, 100px) max(var(--content-pad), calc((100% - var(--content-inner)) / 2));
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab__quote-mark {
  display: block;
  width: clamp(40px, 5.5vw, 64px);
  height: auto;
  margin-bottom: clamp(20px, 3vw, 36px);
  opacity: 0.35;
  user-select: none;
}

.fab__quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.fab__quote-author-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.fab__quote-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.fab__quote-author-name {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: 1.05rem;
  color: #1a1a1a;
}

.fab__quote-author-role {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
}

.fab__quote,
.fab__quote span {
  font-family: "ConcretteXL", Georgia, serif;
}

.fab__quote {
  max-width: var(--content-max);
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary-green);
  text-align: center;
}

.fab__quote span {
  display: inline;
  opacity: 0.3;
}

.fab__quote .fab__quote-highlight {
  opacity: 1;
  font-weight: 600;
  color: var(--color-primary-green);
  background: linear-gradient(120deg, rgba(232, 223, 211, 0.3) 0%, rgba(26, 26, 26, 0.05) 100%);
  padding: 0 4px;
  border-radius: 2px;
}

.fab__esb-section {
  background: #f7f2ea;
  min-height: var(--fab-vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 max(var(--content-pad), calc((100% - var(--content-inner)) / 2)) 150px;
  position: relative;
  z-index: 100;
}

.fab__esb-cols {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.fab__esb-side {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.fab__esb-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fab__esb-text {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: #1a1a1a;
  margin: 0 0 24px;
}

.fab__esb-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab__esb-heading {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 32px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Match the Cards block link button exactly. */
.fab__esb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--color-primary-green);
  padding: 14px 28px;
  border-radius: 4px;
  transition: gap 0.2s, opacity 0.15s;
  align-self: flex-start;
}

.fab__esb-link:hover {
  opacity: 0.9;
  color: #fff;
}

.fab__esb-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.2s cubic-bezier(.25, .46, .45, .94);
}

.fab__esb-link:hover svg {
  transform: translateX(4px);
}

.fab__esb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-top: 48px;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .fab__esb-cols {
    gap: 48px;
  }

  .fab__esb-side {
    gap: 56px;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .fab__hero-inner {
    padding: 0 24px;
  }

  /* Quote sits right over the fixed hero — tighten its stacked padding so it
     doesn't leave a big gap before the image below. */
  .fab__quote-section {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .fab__quote {
    font-size: 1.6rem;
  }

  .fab__image-wrap {
    margin-top: 0;
  }

  .fab__esb-section {
    min-height: auto;
    padding: 20px 24px clamp(64px, 12vw, 100px);
  }

  .fab__esb-cols {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .fab__esb-side {
    gap: 56px;
  }

  .fab__esb-right {
    padding-right: 0;
  }

  .fab__esb-img {
    margin-top: 28px;
  }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .fab__esb-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── Team (seamless within parallax section) ── */
.fab__team-container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 220px 0 90px;
  position: relative;
  z-index: 100;
}

.fab__team-header {
  margin: 0 0 72px;
  text-align: left;
}

.fab__team-title {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
  margin: 0;
  letter-spacing: 0.02em;
}

.fab__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 80px 48px;
}

.fab__team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fab__team-member-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 28px;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.fab__team-member:hover .fab__team-member-img {
  filter: grayscale(0%);
}

.fab__team-member-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fab__team-member-title {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  margin: 0;
  order: -1;
}

.fab__team-member-name {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
  text-transform: uppercase;
}

.fab__team-member-bio {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.65);
  margin: 4px 0 8px;
}

.fab__team-member-link {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.fab__team-member-link:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

@media (max-width: 768px) {
  .fab__team-container {
    padding: 220px 0 40px;
  }

  .fab__team-header {
    margin-bottom: 40px;
  }

  .fab__team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .fab__team-member-img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .fab__team-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ── Timeline (centered reveal; scrolls up over pinned prev section) ── */
.fab__timeline {
  position: relative;
  z-index: 110;
  background: #DCE6D3;
}

.fab__timeline-pin {
  min-height: var(--fab-vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--content-pad);
}

.fab__timeline-head {
  text-align: center;
  margin: 0 0 90px;
}

.fab__timeline-eyebrow {
  display: block;
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  margin-bottom: 22px;
  display: none;
}

.fab__timeline-title {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.04;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 0.01em;
}

.fab__timeline-intro {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.6);
  max-width: 520px;
  margin: 26px auto 0;
}

.fab__timeline-track {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab__timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(26, 26, 26, 0.14);
  z-index: 0;
}

.fab__timeline-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  transform: scaleY(0);
  transform-origin: top center;
}

.fab__timeline-items {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.fab__timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 16px 0;
  background: #DCE6D3;
  opacity: 0;
}

.fab__timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a1a1a;
  transform: scale(0);
  transform-origin: center;
  margin-bottom: 10px;
}

.fab__timeline-year {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.fab__timeline-text {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.72);
  margin: 0 auto;
  max-width: 620px;
}

@media (max-width: 768px) {
  .fab__timeline-pin {
    padding: 90px 24px;
  }

  .fab__timeline-head {
    margin-bottom: 44px;
  }
}

/* ── Fastigheter (part of the timeline section, below the events) ── */
.fab__timeline-estates {
  padding: 0 max(var(--content-pad), calc((100% - var(--content-inner)) / 2)) clamp(90px, 11vw, 150px);
}

.fab__timeline-estates .fab__projects-head {
  border-color: rgba(26, 26, 26, 0.16);
}

/* ── Values (dark panel; scrolls up over pinned timeline) ── */
.fab__values {
  position: relative;
  z-index: 120;
  background: #064824;
  overflow: hidden;
}

/* Optional background image behind the panel */
.fab__values--has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fab__values::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(220, 230, 211, 0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Dark green overlay keeps the light text readable over any image */
.fab__values--has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 27, 13, 0.86) 0%, rgba(6, 72, 36, 0.92) 100%);
  pointer-events: none;
  z-index: 0;
}

.fab__values-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(120px, 14vw, 180px) var(--content-pad);
}

.fab__values-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(70px, 9vw, 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab__values-eyebrow {
  display: block;
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 230, 211, 0.5);
  margin-bottom: 22px;
}

.fab__values-title {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.02;
  color: #DCE6D3;
  margin: 0;
  letter-spacing: 0.01em;
}

.fab__values-intro {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(220, 230, 211, 0.62);
  margin: 26px 0 0;
  display: none;
}

.fab__values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 88px) clamp(48px, 7vw, 96px);
}

.fab__values-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fab__values-icon {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(220, 230, 211, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DCE6D3;
  margin-bottom: 30px;
  transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab__values-icon svg {
  width: 30px;
  height: 30px;
}

.fab__values-item:hover .fab__values-icon {
  background: #DCE6D3;
  color: #064824;
  border-color: #DCE6D3;
  transform: scale(1.08) rotate(-4deg);
}

.fab__values-name {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
  color: #DCE6D3;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.fab__values-text {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
  color: rgba(220, 230, 211, 0.66);
  margin: 0 auto;
  max-width: 400px;
}

@media (max-width: 768px) {
  .fab__values-inner {
    padding: 100px 24px;
  }

  .fab__values-list {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .fab__values-icon {
    width: 60px;
    height: 60px;
  }

  .fab__values-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ── Closing (sustainability + projects; scrolls over pinned values) ── */
.fab__closing {
  position: relative;
  z-index: 130;
  background: #f7f2ea;
  padding: clamp(100px, 12vw, 180px) max(var(--content-pad), calc((100% - var(--content-inner)) / 2)) clamp(80px, 10vw, 140px);
}

/* Sustainability intro */
.fab__sustain {
  max-width: 720px;
  margin: 0 auto clamp(90px, 12vw, 160px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab__sustain-icon {
  display: inline-flex;
  color: #064824;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
}

.fab__sustain-icon svg {
  width: 100%;
  height: 100%;
  animation: fab-leaf-float 4.5s ease-in-out infinite;
}

@keyframes fab-leaf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fab__sustain-eyebrow {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  margin-bottom: 22px;
}

.fab__sustain-title {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.06;
  color: #1a1a1a;
  margin: 0 0 32px;
  letter-spacing: 0.01em;
}

.fab__sustain-text {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.72);
  margin: 0;
}

/* Projects */
.fab__projects {
  max-width: var(--content-max);
  margin: 0 auto;
}

.fab__projects-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.fab__projects-eyebrow {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #064824;
}

.fab__mark {
  position: relative;
  display: inline-block;
  color: #064824;
  white-space: nowrap;
}

.fab__mark-line {
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -0.35em;
  width: 102%;
  height: 0.35em;
  overflow: visible;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
}

.fab__mark-line path {
  fill: none;
  stroke: #064824;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fab__projects-title {
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Obvious green pill button (matches the card / parallax-grid links). */
.fab__projects-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--color-primary-green);
  padding: 13px 26px;
  border-radius: 4px;
  transition: gap 0.2s, opacity 0.15s;
}

/* Sits centered below the grid. */
.fab__projects-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 60px);
}

.fab__projects-link:hover {
  gap: 16px;
  opacity: 0.9;
  color: #fff;
}

.fab__projects-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.fab__projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.fab__project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.fab__project-media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
}

/* Bottom-to-top gradient so the overlaid caption stays legible. */
.fab__project-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 22, 15, 0.88) 0%, rgba(10, 22, 15, 0.5) 34%, rgba(10, 22, 15, 0) 68%);
}

/* Caption block (meta + title) overlaid bottom-left, above the gradient. */
.fab__project-caption {
  position: absolute;
  left: clamp(16px, 2vw, 22px);
  right: clamp(16px, 2vw, 22px);
  bottom: clamp(16px, 2vw, 22px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fab__project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab__project-img--empty {
  background: rgba(26, 26, 26, 0.06);
}

.fab__project-card:hover .fab__project-img {
  transform: scale(1.06);
}

.fab__project-name {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: "ConcretteXL", Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

/* Bare inline arrow — no background, part of the card heading. */
.fab__project-name-arrow {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  transition: transform 0.25s cubic-bezier(.16, 1, .3, 1);
}

.fab__project-card:hover .fab__project-name-arrow {
  transform: translateX(5px);
}

.fab__project-name-arrow svg {
  width: 0.8em;
  height: 0.8em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.fab__project-meta {
  font-family: "SeasonSans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .fab__projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .fab__projects-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .fab__project-media {
    aspect-ratio: 4 / 3;
  }
}
