/* ========================================================================== 
   FALCON FAMILY 2.2.0 — HOMEPAGE RESTRUCTURE
   Editorial homepage architecture: fixed H1 axis, viewport-bleed Budapest film,
   integrated corporate facts, concise sector index, real-project priority.
   ========================================================================== */

.home-main-v2 {
  overflow: clip;
}

/* --- 01 / HERO ---------------------------------------------------------- */
.home-hero-v2 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(78px, 8.2vw, 122px) 0 clamp(82px, 8.4vw, 126px);
  background-color: #0a0c0b;
}

.home-hero-v2::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(5,7,6,.94) 0%, rgba(8,10,9,.86) 38%, rgba(8,10,9,.53) 68%, rgba(5,7,6,.78) 100%),
    url('../images/hero-h1-texture-v200.webp') center / cover no-repeat;
  content: "";
}

.home-hero-v2::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 96px 96px;
  opacity: .18;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.45), transparent 72%);
  content: "";
  pointer-events: none;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 4vw, 62px);
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 590px;
}

.home-hero-copy .eyebrow {
  margin-bottom: clamp(24px, 3vw, 38px);
  color: rgba(251,250,246,.62);
}

.home-hero-copy h1 {
  max-width: 8.4ch;
  margin: 0 0 26px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(4.45rem, 6.4vw, 7.25rem);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: .82;
}

.home-hero-copy .hero-title-primary {
  display: block;
  font-family: var(--display) !important;
  font-weight: 600 !important;
}

.home-hero-copy h1 em {
  display: block;
  margin-top: .13em;
  color: var(--gold-bright);
  font-family: var(--display) !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.038em;
}

.home-hero-lead {
  max-width: 56ch;
  margin: 0 0 32px;
  color: rgba(251,250,246,.67);
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.82;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-media {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.home-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a09;
  border: 1px solid rgba(226,199,127,.26);
  border-radius: var(--radius-card);
  box-shadow: 0 34px 92px rgba(0,0,0,.34);
}

.home-hero-frame::before {
  position: absolute;
  inset: 11px;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.115);
  border-radius: 13px;
  content: "";
  pointer-events: none;
}

.home-hero-frame .hero-video-poster,
.home-hero-frame .hero-video-player,
.home-hero-frame .hero-video-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-frame .hero-video-poster {
  z-index: 2;
  margin: 0;
  opacity: 1;
  transition: opacity .6s ease;
}

.home-hero-frame .hero-video-poster img,
.home-hero-frame .hero-video-native {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-frame .hero-video-player {
  z-index: 1;
  background: #070908;
}

.home-hero-frame.is-video-ready .hero-video-poster {
  opacity: 0;
  pointer-events: none;
}

.home-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(7,9,8,.04), transparent 22%, transparent 75%, rgba(7,9,8,.20) 100%),
    linear-gradient(90deg, rgba(7,9,8,.12), transparent 24%, transparent 78%, rgba(7,9,8,.08));
  pointer-events: none;
}

@media (min-width: 1280px) {
  .home-hero-layout {
    grid-template-columns: 580px minmax(0, 1fr);
    gap: clamp(54px, 4.4vw, 82px);
  }

  .home-hero-copy {
    width: 580px;
    max-width: 580px;
  }

  .home-hero-media {
    --home-hero-bleed: max(0px, calc((100vw - var(--container)) / 2));
    width: min(calc(100% + var(--home-hero-bleed)), 1100px);
    margin-right: calc(var(--home-hero-bleed) * -1);
  }
}

@media (min-width: 1600px) {
  .home-hero-layout {
    grid-template-columns: 590px minmax(0, 1fr);
  }

  .home-hero-copy {
    width: 590px;
    max-width: 590px;
  }
}

/* --- 02 / ABOUT + CORPORATE RAIL --------------------------------------- */
.home-about-v2 {
  padding: clamp(94px, 9vw, 146px) 0 clamp(84px, 8vw, 126px);
}

.home-about-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "copy visual"
    "rail rail";
  align-items: center;
  gap: clamp(48px, 6vw, 96px) clamp(48px, 7vw, 112px);
}

.home-about-copy {
  grid-area: copy;
  max-width: 600px;
}

.home-about-copy h2 {
  max-width: 10.5ch;
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: clamp(3.5rem, 5.3vw, 6.25rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .9;
}

.home-about-copy h2 span {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}

.home-about-text {
  display: grid;
  gap: 18px;
  max-width: 58ch;
  color: rgba(14,16,15,.66);
}

.home-about-text p {
  margin: 0;
  line-height: 1.82;
}

.home-about-visual {
  position: relative;
  grid-area: visual;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d3c8;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.home-about-visual picture,
.home-about-visual img {
  width: 100%;
  height: 100%;
}

.home-about-visual img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.84) contrast(1.02);
}

.home-about-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 46%, rgba(18,20,18,.12));
  content: "";
  pointer-events: none;
}

.home-fact-rail {
  display: grid;
  grid-area: rail;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.home-fact-rail article {
  display: grid;
  min-height: 138px;
  align-content: center;
  gap: 5px;
  padding: 24px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--line-light);
}

.home-fact-rail article:first-child {
  padding-left: 0;
}

.home-fact-rail article:last-child {
  border-right: 0;
}

.home-fact-rail strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.35rem, 3.3vw, 4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .95;
}

.home-fact-rail span {
  color: rgba(14,16,15,.53);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* --- 03 / SECTOR INDEX -------------------------------------------------- */
.home-sectors-v2 {
  padding: clamp(30px, 3vw, 54px) 0 clamp(98px, 9vw, 148px);
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .55fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  margin-bottom: clamp(44px, 5vw, 72px);
}

.home-section-heading h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.35rem, 5vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .9;
}

.home-section-heading h2 span {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}

.home-section-heading > p {
  max-width: 42ch;
  margin: 0 0 7px;
  color: rgba(14,16,15,.58);
  line-height: 1.78;
}

.home-sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-sector-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home-sector-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201,166,91,.34);
  box-shadow: var(--shadow-soft);
}

.sector-card-dark {
  color: var(--paper-bright);
  background: #151816;
  border-color: rgba(255,255,255,.09);
}

.sector-card-light {
  color: var(--ink);
  background: var(--paper-bright);
}

.home-sector-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #151715;
}

.home-sector-media picture,
.home-sector-media img {
  width: 100%;
  height: 100%;
}

.home-sector-media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.home-sector-card:hover .home-sector-media img {
  transform: scale(1.015);
}

.home-sector-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,11,10,.02), transparent 52%, rgba(9,11,10,.22));
  pointer-events: none;
}

.home-sector-copy {
  display: grid;
  min-height: 280px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
}

.home-sector-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: rgba(14,16,15,.46);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sector-card-dark .home-sector-meta {
  color: rgba(251,250,246,.43);
}

.home-sector-copy h3 {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.4vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -.046em;
  line-height: .92;
}

.home-sector-copy > p {
  max-width: 52ch;
  margin: 0;
  color: rgba(14,16,15,.61);
  line-height: 1.72;
}

.sector-card-dark .home-sector-copy > p {
  color: rgba(251,250,246,.61);
}

.home-sector-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 28px;
  color: inherit;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .76;
}

.home-sector-link span {
  transition: transform .2s ease;
}

.home-sector-card:hover .home-sector-link span {
  transform: translate(2px, -1px);
}

/* --- 04 / SELECTED PROJECTS -------------------------------------------- */
.home-projects-v2 {
  padding: 0 0 clamp(104px, 10vw, 160px);
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.home-project-card {
  display: grid;
  min-width: 0;
  grid-column: span 6;
  overflow: hidden;
  color: var(--paper-bright);
  background: #141715;
  border: 1px solid rgba(14,16,15,.08);
  border-radius: var(--radius-card);
}

.home-project-card:first-child {
  grid-column: span 7;
}

.home-project-card:nth-child(2) {
  grid-column: span 5;
}

.home-project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.home-project-card:hover .home-project-image img {
  transform: scale(1.015);
}

.home-project-image > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(7,9,8,.24));
}

.home-project-meta {
  padding: 24px 26px 28px;
}

.home-project-meta > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(226,199,127,.74);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-project-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .95;
}

.home-project-meta p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  color: rgba(251,250,246,.52);
  font-size: .74rem;
}

/* --- 05 / PRINCIPLES ---------------------------------------------------- */
.home-principles-v2 {
  position: relative;
  isolation: isolate;
  padding: clamp(94px, 9vw, 142px) 0 clamp(98px, 9vw, 146px);
  overflow: hidden;
  background: #0d0f0e;
}

.home-principles-v2::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,11,10,.98), rgba(17,20,18,.90), rgba(8,10,9,.98)),
    url('../images/footer-stone-texture.webp') center / cover no-repeat;
  opacity: .94;
  content: "";
}

.home-principles-heading {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: clamp(38px, 7vw, 106px);
  padding-bottom: clamp(42px, 5vw, 68px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.home-principles-heading .eyebrow {
  align-self: start;
}

.home-principles-heading h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(3.25rem, 5.2vw, 6rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .9;
}

.home-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-principle {
  min-height: 260px;
  padding: clamp(28px, 3vw, 40px) clamp(18px, 3vw, 38px) 0 0;
  border-right: 1px solid rgba(255,255,255,.09);
}

.home-principle + .home-principle {
  padding-left: clamp(22px, 3vw, 38px);
}

.home-principle:last-child {
  border-right: 0;
  padding-right: 0;
}

.home-principle > span {
  display: block;
  margin-bottom: 42px;
  color: rgba(226,199,127,.72);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.home-principle h3 {
  margin: 0 0 13px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .98;
}

.home-principle p {
  max-width: 36ch;
  margin: 0;
  color: rgba(251,250,246,.53);
  line-height: 1.72;
}

/* --- RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1179px) {
  .home-hero-layout {
    grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
    gap: 38px;
  }

  .home-hero-copy h1 {
    font-size: clamp(4rem, 7vw, 5.7rem);
  }
}

@media (max-width: 979px) {
  .home-hero-v2 {
    padding-top: 66px;
  }

  .home-hero-layout,
  .home-about-layout,
  .home-section-heading,
  .home-principles-heading {
    grid-template-columns: 1fr;
  }

  .home-hero-layout {
    gap: 42px;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-hero-copy h1 {
    max-width: 9.2ch;
    font-size: clamp(4.1rem, 10vw, 6.4rem);
  }

  .home-hero-media {
    width: 100%;
    margin-right: 0;
  }

  .home-about-layout {
    grid-template-areas:
      "copy"
      "visual"
      "rail";
    gap: 46px;
  }

  .home-about-copy {
    max-width: 760px;
  }

  .home-about-copy h2 {
    max-width: 11ch;
  }

  .home-about-visual {
    aspect-ratio: 16 / 10;
  }

  .home-section-heading {
    align-items: start;
    gap: 22px;
  }

  .home-section-heading > p {
    max-width: 58ch;
    margin: 0;
  }

  .home-principles-heading {
    align-items: start;
    gap: 26px;
  }
}

@media (max-width: 759px) {
  :root {
  }

  .home-hero-v2 {
    padding: 52px 0 66px;
  }

  .home-hero-layout {
    gap: 30px;
  }

  .home-hero-copy .eyebrow {
    margin-bottom: 22px;
  }

  .home-hero-copy h1 {
    max-width: none;
    margin-bottom: 22px;
    font-size: clamp(3.55rem, 16vw, 5rem);
    line-height: .88;
  }

  .home-hero-lead {
    margin-bottom: 26px;
    font-size: .96rem;
    line-height: 1.72;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .home-hero-frame {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .home-hero-frame::before {
    inset: 9px;
    border-radius: 12px;
  }

  .home-about-v2 {
    padding: 82px 0 74px;
  }

  .home-about-layout {
    gap: 34px;
  }

  .home-about-copy h2,
  .home-section-heading h2,
  .home-principles-heading h2 {
    max-width: none;
    font-size: clamp(3rem, 13vw, 4.35rem);
  }

  .home-about-visual {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .home-fact-rail {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .home-fact-rail article,
  .home-fact-rail article:first-child {
    min-height: 104px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .home-fact-rail strong {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }

  .home-sectors-v2 {
    padding: 28px 0 92px;
  }

  .home-section-heading {
    margin-bottom: 36px;
  }

  .home-sector-grid,
  .home-principles-grid {
    grid-template-columns: 1fr;
  }

  .home-sector-card {
    border-radius: 18px;
  }

  .home-sector-copy {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .home-sector-copy h3 {
    font-size: clamp(2.65rem, 12vw, 3.75rem);
  }

  .home-sector-link {
    margin-top: 26px;
    padding-top: 0;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .home-project-card,
  .home-project-card:first-child,
  .home-project-card:nth-child(2) {
    grid-column: auto;
  }

  .home-principles-v2 {
    padding: 84px 0 88px;
  }

  .home-principles-grid {
    margin-top: 12px;
  }

  .home-principle,
  .home-principle + .home-principle,
  .home-principle:last-child {
    min-height: 0;
    padding: 30px 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .home-principle:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .home-principle > span {
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-sector-card,
  .home-sector-media img,
  .home-project-image img,
  .home-sector-link span,
  .home-hero-frame .hero-video-poster {
    transition: none !important;
  }
}

/* Project CMS 2.4 integration */
.home-project-card{color:inherit}.home-project-meta .home-project-summary{display:block;margin:13px 0 0;color:rgba(251,250,246,.6);font-size:.86rem;line-height:1.62}.home-project-meta .home-project-facts{margin-top:18px}
