/* The Projektek page: a C hero, then the featured project in its own look with its model turning slowly
   in the studio. One project so far, so the page is a stage for it rather than a grid. */
.pr-hero { background: radial-gradient(60% 120% at 82% 30%, #54463B 0%, var(--espresso) 64%); color: var(--ivory); overflow: hidden; }
.pr-hero__inner { display: flex; flex-direction: column; gap: 26px; padding-top: 96px; padding-bottom: 88px; }
.pr-hero__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(60px, 11vw, 168px); line-height: 1; letter-spacing: -0.02em; }
.pr-hero__lead { max-width: 46ch; font-size: 20px; line-height: 1.6; color: var(--sand); }

.pr-stage { position: relative; height: min(82dvh, 800px); min-height: 600px; overflow: hidden; }
.pr-stage__photo { object-fit: cover; padding: 0; }
.pr-stage__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 36px; padding-bottom: 56px; pointer-events: none; }
.pr-stage__tag { align-self: flex-start; padding: 6px 14px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1.4; }
.pr-card { width: min(520px, 100%); padding: 40px; background: var(--paper); box-shadow: 0 18px 50px rgb(12 10 9 / .35); display: flex; flex-direction: column; gap: 18px; pointer-events: auto; }
.pr-card__place { font-weight: 500; font-size: 16px; letter-spacing: .02em; }
.pr-card h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.pr-card__lead { font-size: 17px; line-height: 1.6; }
.pr-card__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

.pr-photos { display: grid; grid-template-columns: 5fr 4fr 5fr; gap: 20px; align-items: start; padding-bottom: 112px; }
.pr-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-photo:nth-child(2) { margin-top: 72px; }
.pr-photo .g-open { overflow: hidden; }
.pr-photo img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.pr-photo:hover img { transform: scale(1.03); }
.pr-photo figcaption small { font-size: 13px; color: var(--muted); }

.pr-houses { display: grid; padding-bottom: 120px; }
.pr-houses h3 { font-size: 44px; line-height: 1.1; margin-bottom: 28px; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr) auto 24px; gap: 16px; align-items: center; min-height: 92px; padding: 18px 8px; border-top: 1px solid var(--taupe); color: var(--ink); text-decoration: none; transition: background-color .35s, padding .45s var(--ease-out); }
.pr-row:last-child { border-bottom: 1px solid var(--taupe); }
.pr-row:hover { background: rgb(207 200 190 / .22); padding-left: 20px; }
.pr-row b { font-weight: 400; font-size: 28px; line-height: 1.15; }
.pr-row span { font-size: 17px; color: var(--muted); }
.pr-row strong { font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-row em { justify-self: start; padding: 5px 12px; background: var(--taupe); font-style: normal; font-weight: 600; font-size: 14px; line-height: 1.4; }
.pr-row svg { transition: transform .35s var(--ease-out); }
.pr-row:hover svg { transform: translateX(5px); }

/* the second project in its own look: the Leányfalu estate */
.pr-second { background: radial-gradient(70% 110% at 20% 50%, var(--forest-2) 0%, var(--forest) 70%); color: var(--cream); }
.pr-second__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; padding-top: 120px; padding-bottom: 128px; }
.pr-second__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--forest-2); }
.pr-second__photo img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.pr-second__photo:hover img { transform: scale(1.03); }
.pr-second__text { display: flex; flex-direction: column; gap: 22px; }
.pr-second__place { font-weight: 500; font-size: 16px; letter-spacing: .03em; color: var(--brass); }
.pr-second h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; }
.pr-second__text > p:not(.pr-second__place) { font-size: 18px; line-height: 1.7; color: #E4DED0; }
.pr-second__facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 0; border-top: 1px solid rgb(251 248 241 / .2); border-bottom: 1px solid rgb(251 248 241 / .2); }
.pr-second__facts dt { font-size: 14px; font-weight: 500; color: #CFC8B8; }
.pr-second__facts dd { margin: 6px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; white-space: nowrap; font-variant-numeric: lining-nums; }

@media (max-width: 1080px) {
  .pr-second__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 80px; }
  .pr-row { grid-template-columns: minmax(0, 1fr) auto 24px; row-gap: 6px; }
  .pr-row b { grid-column: 1; }
  .pr-row span { grid-column: 1; }
  .pr-row strong { grid-column: 1; }
  .pr-row em { grid-column: 2; grid-row: 1; }
  .pr-row svg { grid-column: 3; grid-row: 1; }
}
@media (max-width: 760px) {
  .pr-second__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-second__facts div:last-child { grid-column: 1 / -1; }
  .pr-second__facts dd { font-size: 22px; }
  .pr-second .btn { width: 100%; }
  .pr-hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 18px; }
  .pr-hero__lead { font-size: 17px; }
  .pr-stage { height: auto; min-height: 0; overflow: visible; background: var(--paper); }
  .pr-stage .telek__stage { position: relative; height: 420px; background: radial-gradient(120% 95% at 62% 42%, #3B3632 0%, #292624 52%, #1C1A18 100%); }
  .pr-stage__inner { height: auto; padding: 0; }
  .pr-stage__tag { position: absolute; left: 16px; top: -404px; }
  .pr-card { width: 100%; padding: 28px 20px 32px; box-shadow: none; background: var(--taupe); }
  .pr-card__ctas .pbtn { width: 100%; }
  .pr-stage .telek__note { position: static; max-width: none; margin: 0; padding: 12px 20px; background: var(--paper); color: var(--muted); text-align: left; }
  .pr-photos { grid-template-columns: 1fr; padding-bottom: 64px; }
  .pr-photo:nth-child(2) { margin-top: 0; }
  .pr-houses { padding-bottom: 72px; }
  .pr-houses h3 { font-size: 32px; }
  .pr-row b { font-size: 24px; }
}
