/* Foundation — industrial construction theme
   Concrete grain · safety stripe · blueprint grid · clip-path cards */

:root {
  --fd-primary: #1A1A1A;
  --fd-accent: #F2C94C;
  --fd-surface: #E8E6E1;
  --fd-ink: #111111;
  --fd-steel: #4A5560;
  --fd-primary-soft: rgba(26, 26, 26, 0.06);
  --fd-accent-soft: rgba(242, 201, 76, 0.22);
  --fd-line: rgba(26, 26, 26, 0.12);
  --fd-muted: #5A6169;
  --fd-white: #FAFAF8;
  --fd-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
  --fd-shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.12);
  --fd-radius: 2px;
  --fd-header-h: 78px;
  --fd-font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --fd-font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --fd-reveal-y: 32px;
  --fd-reveal-duration: 0.8s;
}

html[data-motion="low"] {
  --fd-reveal-y: 12px;
  --fd-reveal-duration: 0.4s;
}
html[data-motion="high"] {
  --fd-reveal-y: 48px;
  --fd-reveal-duration: 1.05s;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.fd-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--fd-font-body);
  color: var(--fd-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35), transparent 120px),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(26, 26, 26, 0.03) 47px,
      rgba(26, 26, 26, 0.03) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(26, 26, 26, 0.03) 47px,
      rgba(26, 26, 26, 0.03) 48px
    ),
    var(--fd-surface);
  -webkit-font-smoothing: antialiased;
}

.fd-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fd-accent);
  color: var(--fd-primary);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.fd-skip:focus { left: 1rem; top: 1rem; }

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.fd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fd-steel);
}
.fd-kicker::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  background: var(--fd-accent);
}

.fd-text-accent { color: var(--fd-accent); }

/* Buttons */
.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  font-family: var(--fd-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--fd-radius);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.fd-btn--accent {
  background: var(--fd-accent);
  color: var(--fd-primary);
  border-color: var(--fd-accent);
}
.fd-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(0,0,0,0.15);
}
.fd-btn--dark {
  background: var(--fd-primary);
  color: #fff;
  border-color: var(--fd-primary);
}
.fd-btn--dark:hover {
  background: var(--fd-accent);
  color: var(--fd-primary);
  border-color: var(--fd-accent);
  transform: translateY(-2px);
}
.fd-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.fd-btn--ghost:hover {
  border-color: var(--fd-accent);
  color: var(--fd-accent);
}
.fd-btn--outline {
  background: transparent;
  color: var(--fd-primary);
  border-color: var(--fd-primary);
}
.fd-btn--outline:hover {
  background: var(--fd-primary);
  color: #fff;
}

/* Header */
.fd-topbar {
  background: var(--fd-primary);
  color: rgba(255,255,255,0.78);
  font-size: 0.8rem;
}
.fd-topbar__inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}
.fd-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  margin-right: 1.1rem;
}
.fd-topbar__link:hover { color: var(--fd-accent); }
.fd-topbar__link svg { width: 14px; height: 14px; }
.fd-lang a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-left: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fd-lang a.is-active { color: var(--fd-accent); }

.fd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(232, 230, 225, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.fd-header.is-scrolled {
  background: rgba(250, 250, 248, 0.94);
  border-bottom-color: var(--fd-line);
  box-shadow: var(--fd-shadow-sm);
}
.fd-header__inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--fd-header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.fd-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.fd-brand__logo { height: 42px; width: auto; }
.fd-brand__text {
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fd-primary);
  line-height: 1;
}
.fd-brand__tag {
  margin-top: 0.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fd-steel);
}

.fd-nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 2px solid var(--fd-primary);
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.fd-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--fd-primary);
  margin: 5px 0;
  transition: 0.25s ease;
}
.fd-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fd-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.fd-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fd-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.fd-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}
.fd-nav .site-nav__item {
  list-style: none;
}
.fd-nav .site-nav__item > a {
  display: block;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fd-ink);
  position: relative;
}
.fd-nav .site-nav__item > a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--fd-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.fd-nav .site-nav__item.is-active > a::after,
.fd-nav .site-nav__item > a:hover::after { transform: scaleX(1); }
.fd-header__cta { margin-left: 0.75rem; flex-shrink: 0; }

@media (max-width: 960px) {
  .fd-nav-toggle { display: block; }
  .fd-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--fd-white);
    border-bottom: 1px solid var(--fd-line);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--fd-shadow-sm);
  }
  .fd-nav.is-open { display: block; }
  .fd-nav__list { flex-direction: column; align-items: flex-start; }
  .fd-header__cta { display: none; }
}

.fd-main { flex: 1; }

/* Sections */
.fd-section {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.fd-section__head { margin-bottom: 2.25rem; max-width: 40rem; }
.fd-section__head--split {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  max-width: none;
}
.fd-section__title {
  margin: 0;
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--fd-primary);
}
.fd-section__text {
  margin: 0;
  max-width: 28rem;
  color: var(--fd-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* Hero — asymmetric split + safety stripe */
.fd-hero {
  position: relative;
  overflow: hidden;
  background: var(--fd-primary);
  color: #fff;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: stretch;
}
.fd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(242, 201, 76, 0.05) 12px,
      rgba(242, 201, 76, 0.05) 24px
    );
  pointer-events: none;
  z-index: 1;
}
.fd-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  grid-template-columns: 1.05fr 0.95fr;
}
.fd-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fd-accent);
}
.fd-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.fd-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(var(--fd-reveal-y));
  animation: fd-fade-up var(--fd-reveal-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fd-hero__word--accent { color: var(--fd-accent); }
.fd-hero__text {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  opacity: 0;
  animation: fd-fade-up var(--fd-reveal-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fd-fade-up var(--fd-reveal-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fd-hero__figure {
  position: relative;
  isolation: isolate;
}
.fd-hero__img,
.fd-hero__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 0 100%, 0 8%);
  box-shadow: var(--fd-shadow);
}
.fd-hero__placeholder {
  background: linear-gradient(145deg, #2a2a2a, #111);
}
.fd-hero__stripe {
  position: absolute;
  left: -1.25rem;
  bottom: 12%;
  width: 72%;
  height: 0.7rem;
  background: repeating-linear-gradient(
    90deg,
    var(--fd-accent) 0 16px,
    var(--fd-primary) 16px 32px
  );
  z-index: 2;
  transform: skewY(-2deg);
}
.fd-hero__badge {
  position: absolute;
  right: -0.5rem;
  top: 12%;
  background: var(--fd-accent);
  color: var(--fd-primary);
  padding: 1rem 1.15rem;
  border-radius: var(--fd-radius);
  box-shadow: var(--fd-shadow-sm);
  z-index: 3;
  min-width: 7.5rem;
}
.fd-hero__badge strong {
  display: block;
  font-family: var(--fd-font-display);
  font-size: 2rem;
  line-height: 1;
}
.fd-hero__badge span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .fd-hero__inner { grid-template-columns: 1fr; }
  .fd-hero__img, .fd-hero__placeholder { aspect-ratio: 16 / 10; max-height: 360px; }
  .fd-hero__badge { right: 0.5rem; top: auto; bottom: 1rem; }
}

/* About home block */
.fd-about {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .fd-about { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
}
.fd-about__figure { position: relative; }
.fd-about__img,
.fd-about__placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--fd-line);
  box-shadow: var(--fd-shadow-sm);
}
.fd-about__placeholder {
  background: linear-gradient(140deg, var(--fd-accent-soft), var(--fd-primary-soft));
}
.fd-about__frame {
  position: absolute;
  inset: 1.1rem -0.85rem -0.85rem 1.1rem;
  border: 2px solid var(--fd-accent);
  pointer-events: none;
  z-index: -1;
}
.fd-about__title {
  margin: 0 0 1rem;
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--fd-primary);
}
.fd-about__text {
  margin: 0 0 1.25rem;
  color: var(--fd-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}
.fd-about__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.fd-about__list li {
  position: relative;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  background: rgba(250, 250, 248, 0.7);
  border-left: 3px solid var(--fd-accent);
  font-size: 0.95rem;
}
.fd-about__list li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--fd-primary);
  transform: translateY(-50%) rotate(45deg);
}

/* Cards — services & news */
.fd-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.fd-card {
  display: flex;
  flex-direction: column;
  background: var(--fd-white);
  border: 1px solid var(--fd-line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.fd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--fd-shadow);
  border-color: rgba(242, 201, 76, 0.55);
}
.fd-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #222;
  position: relative;
}
.fd-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fd-card:hover .fd-card__img { transform: scale(1.06); }
.fd-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #333, #111);
}
.fd-card__index {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-family: var(--fd-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fd-accent);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.fd-card__body { padding: 1.25rem 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.fd-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--fd-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fd-primary);
}
.fd-card__text {
  margin: 0 0 1rem;
  color: var(--fd-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}
.fd-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fd-steel);
}
.fd-card__link svg { width: 16px; height: 16px; }
.fd-card:hover .fd-card__link { color: var(--fd-primary); }

/* Project cards — clip-path open */
.fd-projects__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}
.fd-project {
  grid-column: span 4;
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: #111;
  min-height: 280px;
  clip-path: inset(12% 12% 12% 12%);
  transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
}
.fd-project.is-inview,
.fd-js .fd-project:hover {
  clip-path: inset(0 0 0 0);
}
.fd-project:nth-child(1),
.fd-project:nth-child(6) { grid-column: span 8; min-height: 340px; }
.fd-project__img,
.fd-project__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.fd-project__placeholder {
  background: linear-gradient(145deg, #2c2c2c, #0d0d0d);
}
.fd-project:hover .fd-project__img { transform: scale(1.05); }
.fd-project__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.fd-project__meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fd-accent);
  margin-bottom: 0.35rem;
}
.fd-project__title {
  margin: 0;
  font-family: var(--fd-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

@media (max-width: 900px) {
  .fd-project,
  .fd-project:nth-child(1),
  .fd-project:nth-child(6) { grid-column: span 12; min-height: 240px; }
  .fd-project { clip-path: inset(0 0 0 0); }
}

/* Process timeline */
.fd-process {
  background: var(--fd-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fd-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(242, 201, 76, 0.04) 10px,
    rgba(242, 201, 76, 0.04) 20px
  );
  pointer-events: none;
}
.fd-process .fd-section { position: relative; z-index: 1; }
.fd-process .fd-section__title { color: #fff; }
.fd-process .fd-kicker { color: var(--fd-accent); }
.fd-process .fd-section__text { color: rgba(255,255,255,0.65); }

.fd-timeline {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: block;
  position: relative;
}
.fd-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
.fd-timeline__line {
  position: absolute;
  left: 1.35rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.fd-timeline__line > span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--fd-accent);
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fd-timeline.is-inview .fd-timeline__line > span { height: 100%; }

.fd-timeline__item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  position: relative;
}
.fd-timeline__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--fd-accent);
  background: var(--fd-primary);
  color: var(--fd-accent);
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.fd-timeline__title {
  margin: 0 0 0.4rem;
  font-family: var(--fd-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fd-timeline__text {
  margin: 0;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  max-width: 40rem;
}

@media (min-width: 900px) {
  .fd-timeline__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .fd-timeline__line {
    left: 0;
    right: 0;
    top: 1.35rem;
    bottom: auto;
    height: 3px;
    width: auto;
  }
  .fd-timeline__line > span {
    height: 100%;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .fd-timeline.is-inview .fd-timeline__line > span { width: 100%; }
  .fd-timeline__item {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
}

/* Stats + features */
.fd-stats {
  background: var(--fd-accent);
  color: var(--fd-primary);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.fd-stats__grid {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  text-align: center;
}
.fd-stats__value {
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
}
.fd-stats__label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fd-features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.fd-feature {
  padding: 1.6rem 1.4rem;
  background: var(--fd-white);
  border: 1px solid var(--fd-line);
  border-top: 3px solid var(--fd-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fd-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--fd-shadow-sm);
}
.fd-feature__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: var(--fd-primary);
  color: var(--fd-accent);
  margin-bottom: 1rem;
}
.fd-feature__icon svg { width: 22px; height: 22px; }
.fd-feature__title {
  margin: 0 0 0.45rem;
  font-family: var(--fd-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fd-feature__text {
  margin: 0;
  color: var(--fd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* CTA */
.fd-cta {
  background: var(--fd-primary);
  color: #fff;
  border-top: 4px solid var(--fd-accent);
}
.fd-cta__inner {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}
.fd-cta__title {
  margin: 0 0 0.85rem;
  font-family: var(--fd-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fd-cta__text {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.fd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Page head */
.fd-page-head {
  background: var(--fd-primary);
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}
.fd-page-head::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: 0;
  width: 40%;
  height: 0.55rem;
  background: repeating-linear-gradient(
    90deg,
    var(--fd-accent) 0 14px,
    transparent 14px 28px
  );
}
.fd-page-head__inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}
.fd-page-head__title {
  margin: 0;
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.fd-page-head__lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}
.fd-breadcrumb {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
}
.fd-breadcrumb:hover { color: var(--fd-accent); }

/* Detail / list */
.fd-detail {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 4rem;
}
.fd-card__cat {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fd-steel);
}

/* Project filters */
.fd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}
.fd-filter {
  appearance: none;
  border: 1px solid var(--fd-line);
  background: var(--fd-white);
  color: var(--fd-ink);
  font-family: var(--fd-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fd-filter em {
  font-style: normal;
  opacity: 0.55;
  margin-left: 0.35rem;
}
.fd-filter:hover { border-color: var(--fd-accent); }
.fd-filter.is-active {
  background: var(--fd-primary);
  border-color: var(--fd-primary);
  color: #fff;
}
.fd-filter.is-active em { color: var(--fd-accent); opacity: 1; }
.fd-project.is-filtered-out { display: none; }

/* Project detail */
.fd-project-detail {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0 4rem;
}
.fd-project-meta {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  border: 1px solid var(--fd-line);
  background: var(--fd-white);
}
.fd-project-meta li {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--fd-line);
}
.fd-project-meta li:last-child { border-right: none; }
.fd-project-meta span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fd-steel);
  margin-bottom: 0.35rem;
}
.fd-project-meta strong {
  font-family: var(--fd-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fd-primary);
}

.fd-gallery { margin-bottom: 2.5rem; }
.fd-gallery-swiper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fd-line);
  background: #111;
}
.fd-gallery-swiper .swiper-slide {
  aspect-ratio: 16 / 9;
}
.fd-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.fd-gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fd-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--fd-accent);
  background: var(--fd-primary);
  color: var(--fd-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.fd-gallery__nav svg { width: 1.15rem; height: 1.15rem; }
.fd-gallery__nav:hover {
  background: var(--fd-accent);
  color: var(--fd-primary);
}
.fd-gallery__nav--prev { left: 0.85rem; }
.fd-gallery__nav--next { right: 0.85rem; }
.fd-gallery__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.fd-gallery__pagination .swiper-pagination-bullet {
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 !important;
  background: rgba(255,255,255,0.45);
  opacity: 1;
  border-radius: 0;
}
.fd-gallery__pagination .swiper-pagination-bullet-active {
  background: var(--fd-accent);
  width: 1.35rem;
}
.fd-gallery-thumbs {
  margin-top: 0.65rem;
  overflow: hidden;
}
.fd-gallery-thumbs .swiper-slide {
  aspect-ratio: 4 / 3;
  opacity: 0.45;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  background: #222;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.fd-gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fd-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--fd-accent);
}
.fd-gallery-thumbs .swiper-slide:hover { opacity: 0.85; }

/* Fancybox theme accents */
.fancybox__container {
  --fancybox-bg: rgba(15, 15, 15, 0.94);
  --fancybox-color: #fff;
  --fancybox-accent: #F2C94C;
}
.fancybox__toolbar,
.fancybox__nav .f-button {
  --f-button-bg: #1A1A1A;
  --f-button-color: #F2C94C;
  --f-button-hover-bg: #F2C94C;
  --f-button-hover-color: #1A1A1A;
}

.fd-cover {
  margin: 0 0 2rem;
  aspect-ratio: 21 / 9;
  max-height: 26rem;
  overflow: hidden;
  border: 1px solid var(--fd-line);
  background: #ddd;
}
.fd-cover picture,
.fd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fd-cover a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.fd-project-detail__body {
  display: grid;
  gap: 2rem;
  margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .fd-project-detail__body {
    grid-template-columns: 1.4fr 0.75fr;
    align-items: start;
  }
}
.fd-project-detail__cta {
  padding: 1.6rem 1.4rem;
  background: var(--fd-primary);
  color: #fff;
  border-top: 4px solid var(--fd-accent);
}
.fd-project-detail__cta h3 {
  margin: 0 0 0.55rem;
  font-family: var(--fd-font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
}
.fd-project-detail__cta p {
  margin: 0 0 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-size: 0.95rem;
}
.fd-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fd-line);
}

.fd-summary {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  color: var(--fd-muted);
  line-height: 1.7;
  border-left: 3px solid var(--fd-accent);
  padding-left: 1rem;
}
.fd-prose {
  line-height: 1.85;
  font-size: 1.02rem;
  color: var(--fd-ink);
  max-width: 46rem;
}
.fd-prose h3, .fd-prose h4, .fd-prose h5 {
  font-family: var(--fd-font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fd-primary);
  margin: 1.85rem 0 0.75rem;
}
.fd-prose p { margin: 0 0 1.1rem; }
.fd-prose ul { padding-left: 1.2rem; }
.fd-prose img { border: 1px solid var(--fd-line); }
.fd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fd-steel);
}
.fd-back:hover { color: var(--fd-primary); }
.fd-empty {
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed var(--fd-line);
  color: var(--fd-muted);
  background: rgba(255,255,255,0.4);
}

/* About page extras */
.fd-about-page {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: clamp(2rem, 4vw, 2.75rem);
}
.fd-mission {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--fd-primary);
  color: #fff;
  border-top: 4px solid var(--fd-accent);
  border-bottom: 4px solid var(--fd-accent);
  text-align: center;
}
.fd-mission__inner {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
}
.fd-mission__quote {
  margin: 0.75rem 0 1.15rem;
  font-family: var(--fd-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.fd-mission__text {
  margin: 0;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}
.fd-kicker--on-dark { color: var(--fd-accent); }
.fd-kicker--on-dark::before { background: var(--fd-accent); }

.fd-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  position: relative;
}
.fd-milestones::before {
  content: "";
  position: absolute;
  left: 4.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--fd-accent), var(--fd-line));
}
.fd-milestone {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
}
.fd-milestone__year {
  font-family: var(--fd-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fd-accent);
  text-align: right;
  padding-top: 1.1rem;
  position: relative;
}
.fd-milestone__year::after {
  content: "";
  position: absolute;
  right: -0.95rem;
  top: 1.35rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--fd-surface);
  border: 2px solid var(--fd-accent);
  transform: rotate(45deg);
}
.fd-milestone__card {
  padding: 1.2rem 1.35rem;
  background: var(--fd-white);
  border: 1px solid var(--fd-line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fd-milestone:hover .fd-milestone__card {
  transform: translateX(4px);
  border-color: rgba(242, 201, 76, 0.6);
}
.fd-milestone__title {
  margin: 0 0 0.35rem;
  font-family: var(--fd-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.fd-milestone__text {
  margin: 0;
  color: var(--fd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .fd-milestones::before { left: 0.3rem; }
  .fd-milestone { grid-template-columns: 1fr; padding-left: 1.5rem; }
  .fd-milestone__year { text-align: left; }
  .fd-milestone__year::after { left: -1.35rem; right: auto; }
}

/* Contact */
.fd-contact {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 4rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .fd-contact { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
}
.fd-contact__card {
  padding: 1.75rem;
  background: var(--fd-white);
  border: 1px solid var(--fd-line);
  border-top: 4px solid var(--fd-accent);
}
.fd-contact__card h2 {
  margin: 0 0 1rem;
  font-family: var(--fd-font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}
.fd-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.fd-contact__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}
.fd-contact__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--fd-steel);
  margin-top: 0.15rem;
}
.fd-form { display: grid; gap: 1rem; }
.fd-field { display: grid; gap: 0.35rem; }
.fd-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fd-field input,
.fd-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--fd-line);
  border-radius: var(--fd-radius);
  background: var(--fd-white);
  font-family: var(--fd-font-body);
  font-size: 1rem;
  color: var(--fd-ink);
}
.fd-field input:focus,
.fd-field textarea:focus {
  outline: none;
  border-color: var(--fd-accent);
  box-shadow: 0 0 0 3px var(--fd-accent-soft);
}
.fd-alert {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border-radius: var(--fd-radius);
}
.fd-alert--ok { background: rgba(46, 125, 50, 0.1); color: #2e7d32; border: 1px solid rgba(46,125,50,0.25); }
.fd-alert--error { background: rgba(198, 40, 40, 0.08); color: #c62828; border: 1px solid rgba(198,40,40,0.25); }

/* Footer */
.fd-footer {
  margin-top: auto;
  background: #0F0F0F;
  color: rgba(255,255,255,0.7);
  border-top: 4px solid var(--fd-accent);
}
.fd-footer__inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.fd-footer__brand {
  font-family: var(--fd-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.04em;
}
.fd-footer__tag {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-accent);
}
.fd-footer h4 {
  margin: 0 0 0.85rem;
  font-family: var(--fd-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.fd-footer a { color: inherit; text-decoration: none; }
.fd-footer a:hover { color: var(--fd-accent); }
.fd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.fd-footer .site-nav__item { list-style: none; }
.fd-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Motion */
.fd-reveal {
  opacity: 0;
  transform: translateY(var(--fd-reveal-y));
  transition: opacity var(--fd-reveal-duration) cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--fd-reveal-duration) cubic-bezier(0.16, 1, 0.3, 1);
}
.fd-reveal.is-inview { opacity: 1; transform: none; }

@keyframes fd-fade-up {
  from { opacity: 0; transform: translateY(var(--fd-reveal-y)); }
  to { opacity: 1; transform: none; }
}

html.fd-motion-off .fd-reveal,
html.fd-motion-off .fd-hero__word,
html.fd-motion-off .fd-hero__text,
html.fd-motion-off .fd-hero__actions {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
html.fd-motion-off .fd-project { clip-path: inset(0 0 0 0); }

@media (max-width: 720px) {
  .fd-section__head--split { flex-direction: column; align-items: flex-start; }
}
