/* ==========================================================================
   VELMORA YAPI — pages.css
   Page-level layouts: home, projects, project detail, gallery + lightbox,
   apartment types, sales/contact, company, 404.
   ========================================================================== */

/* ---------- Home · featured project ---------- */
.feature-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.feature-media { aspect-ratio: 4 / 5; max-height: 860px; width: 100%; }
.feature-media img { object-position: 50% 40%; }
.feature-body { padding-bottom: 8px; }
.feature-body h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: .02em; margin: 18px 0 24px; }
.feature-body .lead-serif { margin-bottom: 36px; }
.feature-body .meta-list { margin-bottom: 40px; }
.feature-aside { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--v-line); font-size: .86rem; color: var(--v-muted); }
.feature-aside .media { aspect-ratio: 1 / 1; }

/* ---------- Home · project mosaic ---------- */
.project-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); row-gap: clamp(56px, 7vw, 104px); }
.p-tile { min-width: 0; }
.p-tile:nth-child(1) { grid-column: 1 / span 7; }
.p-tile:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(80px, 12vw, 200px); }
.p-tile:nth-child(3) { grid-column: 2 / span 4; }
.p-tile:nth-child(4) { grid-column: 7 / span 6; margin-top: clamp(40px, 6vw, 110px); }
.p-tile .media { aspect-ratio: 4 / 3; }
.p-tile:nth-child(2) .media, .p-tile:nth-child(3) .media { aspect-ratio: 4 / 5; }
.p-tile-link { display: block; color: inherit; }
.p-tile-link:hover { color: inherit; }
.p-tile-body { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 18px; align-items: baseline; padding-top: 22px; }
.p-tile-body .num { grid-row: span 2; align-self: start; padding-top: 6px; }
.p-tile-body h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: .02em; transition: color .3s var(--v-ease); }
.p-tile-link:hover h3 { color: var(--v-copper-ink); }
.p-tile-body .status { grid-column: 3; grid-row: 1; align-self: center; }
.p-tile-body .meta-inline { grid-column: 2 / span 2; }
.mosaic-foot { display: flex; justify-content: center; margin-top: clamp(64px, 8vw, 112px); }

/* ---------- Home · approach ---------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.approach-media { aspect-ratio: 4 / 5; }
.approach-media img { object-position: 38% 50%; }
.principles { list-style: none; padding: 0; margin: 40px 0 44px; border-top: 1px solid var(--v-line-dark); }
.principles li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--v-line-dark); }
.principles h3 { font-family: var(--v-font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 2px 0 6px; line-height: 1.4; }
.principles p { margin: 0; font-size: .93rem; color: var(--v-muted-dark); line-height: 1.6; }
.surface-white .principles, .principles--light { border-color: var(--v-line); }
.principles--light li { border-color: var(--v-line); }
.principles--light p { color: var(--v-muted); }

/* ---------- Home & apartments · type cards ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--v-line); border-left: 1px solid var(--v-line); }
.type-card { border-right: 1px solid var(--v-line); border-bottom: 1px solid var(--v-line); background: var(--v-paper); transition: background-color .35s var(--v-ease); min-width: 0; }
.type-card a { display: flex; flex-direction: column; height: 100%; padding: clamp(20px, 2vw, 30px); color: inherit; }
.type-card a:hover { color: inherit; }
.type-card:hover { background: var(--v-white); }
.type-plan { aspect-ratio: 680 / 540; background: var(--v-paper); border: 1px solid var(--v-line); margin-bottom: 26px; overflow: hidden; }
.type-plan img { width: 100%; height: 100%; object-fit: contain; }
.type-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.type-name { font-size: clamp(2.2rem, 3vw, 2.9rem); margin: 0; line-height: 1; font-weight: 350; }
.type-area { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--v-copper-ink); white-space: nowrap; }
.type-card p { font-size: .93rem; color: var(--v-muted); line-height: 1.6; margin-bottom: 18px; }
.type-card .type-more { margin-top: auto; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.type-card .type-more .arrow { width: 16px; height: 9px; transition: transform .35s var(--v-ease); }
.type-card a:hover .type-more { color: var(--v-copper-ink); }
.type-card a:hover .type-more .arrow { transform: translateX(4px); }

/* ---------- Home · CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 620px; }
.cta-band .media { height: 100%; min-height: 360px; }
.cta-band-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 128px) clamp(24px, 7vw, 120px); }
.cta-band-body h2 { max-width: 14ch; }
.cta-band-body p { max-width: 42ch; color: var(--v-muted-dark); margin-bottom: 40px; font-size: 1.05rem; }
.cta-simple { text-align: left; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 80px; align-items: end; }
.cta-simple h2 { margin: 0; max-width: 20ch; }
.cta-simple p { color: var(--v-muted-dark); margin-bottom: 30px; }

/* ---------- Projects page ---------- */
.projects-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 80px; align-items: end; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(64px, 8vw, 120px); margin-top: clamp(48px, 6vw, 80px); }
.p-card { min-width: 0; display: flex; flex-direction: column; }
.project-list .p-card:nth-child(even):not(.is-filtered-out) { margin-top: 0; }
@media (min-width: 992px) {
  .project-list.is-staggered .p-card.is-even { transform: translateY(clamp(60px, 8vw, 140px)); }
  .project-list.is-staggered { padding-bottom: clamp(60px, 8vw, 140px); }
}
.p-card .media { aspect-ratio: 4 / 3; }
.p-card-body { padding-top: 24px; display: flex; flex-direction: column; flex: 1; }
.p-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.p-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); letter-spacing: .02em; margin: 0 0 10px; }
.p-card h2 a:hover { color: var(--v-copper-ink); }
.p-card .meta-inline { margin-bottom: 18px; }
.p-card p.summary { color: var(--v-muted); max-width: 52ch; margin-bottom: 22px; }
.p-card .link-arrow { align-self: flex-start; margin-top: auto; }
.empty-state { display: none; padding: 48px 0; text-align: center; color: var(--v-muted); }
.empty-state.is-visible { display: block; }

.status-legend { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; font-size: .86rem; color: var(--v-muted); }
.status-legend div { display: flex; align-items: center; gap: 12px; }

/* ---------- Project detail ---------- */
.project-hero { min-height: 88vh; min-height: 88svh; }
.project-hero .hero-media img { object-position: 50% 45%; }
.project-hero h1 { font-size: clamp(3rem, 8vw, 7.2rem); letter-spacing: .01em; font-weight: 350; margin: 22px 0 22px; }
.project-hero .meta-inline { color: rgba(255, 255, 255, .86); }
.project-hero .meta-inline span + span::before { background: var(--v-copper-light); }
.hero-status-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.concept-flag { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .35); padding: 7px 10px; }

.subnav { border-bottom: 1px solid var(--v-line); background: var(--v-paper); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 58px; white-space: nowrap; font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--v-muted); border-bottom: 1px solid transparent; }
.subnav a:hover { color: var(--v-ink); border-bottom-color: var(--v-copper); }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.about-grid h2 { max-width: 13ch; }
.about-grid .lead-serif { margin-bottom: 28px; }
.about-grid .meta-list { margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-footnote { font-size: .78rem; color: var(--v-muted); margin-top: 16px; }

.arch-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch-grid .media { aspect-ratio: 4 / 5; }
.material-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.material-chips li { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--v-line); background: var(--v-white); }

.spaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--v-line); }
.space { padding: 32px 28px 8px 0; border-right: 1px solid var(--v-line); min-width: 0; }
.space + .space { padding-left: 28px; }
.space:last-child { border-right: 0; }
.space h3 { font-size: 1.35rem; margin: 14px 0 12px; }
.space p { font-size: .93rem; color: var(--v-muted); line-height: 1.65; }

.ptypes { border-top: 1px solid var(--v-line); }
.ptype { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto auto; gap: 16px 40px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--v-line); color: inherit; }
.ptype:hover { color: inherit; background: linear-gradient(to right, transparent, rgba(255, 255, 255, .7), transparent); }
.ptype-plan { aspect-ratio: 680 / 540; background: var(--v-paper); border: 1px solid var(--v-line); }
.ptype-plan img { width: 100%; height: 100%; object-fit: contain; }
.ptype-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.ptype-main .type-name { font-size: 2.3rem; }
.ptype-main p { margin: 0; color: var(--v-muted); font-size: .93rem; flex-basis: 100%; max-width: 60ch; }
.ptype-data { display: flex; gap: 28px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ptype-data span { display: block; color: var(--v-muted); font-weight: 600; margin-bottom: 4px; }
.ptype .arrow { width: 20px; height: 11px; transition: transform .35s var(--v-ease); }
.ptype:hover .arrow { transform: translateX(5px); color: var(--v-copper); }

.location-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); }
.location-panel { border: 1px solid var(--v-line-dark); padding: clamp(28px, 4vw, 48px); position: relative; }
.location-panel .loc-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v-copper-light); }
.location-panel .loc-name { font-family: var(--v-font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 14px 0 8px; color: #fff; }
.location-panel .loc-demo { font-size: .82rem; color: var(--v-muted-dark); margin-bottom: 28px; }
.loc-diagram { width: 100%; height: auto; margin-top: 8px; }
.loc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--v-line-dark); }
.loc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--v-line-dark); }
.loc-list h3 { font-family: var(--v-font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 2px 0 6px; }
.loc-list p { margin: 0; color: var(--v-muted-dark); font-size: .93rem; }

.next-project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; background: var(--v-night); color: #fff; }
.next-project:hover { color: #fff; }
.next-project .media { min-height: 300px; height: 100%; }
.next-project-body { padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.next-project-body .label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v-copper-light); margin-bottom: 16px; }
.next-project-body .name { font-family: var(--v-font-display); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: .01em; font-weight: 350; margin-bottom: 18px; }
.next-project-body .meta-inline { color: var(--v-muted-dark); margin-bottom: 36px; }
.next-project-body .go { display: inline-flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.next-project-body .go .arrow { width: 22px; height: 12px; transition: transform .35s var(--v-ease); }
.next-project:hover .go { color: var(--v-copper-light); }
.next-project:hover .go .arrow { transform: translateX(6px); }

/* ---------- Editorial gallery ---------- */
.gallery { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.g-row { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.g-row--full { height: clamp(300px, 50vw, 780px); }
.g-row--pair { grid-template-columns: 1fr 1fr; height: clamp(300px, 46vw, 720px); }
.g-row--5-7 { grid-template-columns: 5fr 7fr; height: clamp(280px, 38vw, 600px); }
.g-row--7-5 { grid-template-columns: 7fr 5fr; height: clamp(280px, 38vw, 600px); }
.g-row--split { grid-template-columns: 7fr 5fr; min-height: clamp(280px, 38vw, 580px); }
.g-item { position: relative; display: block; overflow: hidden; background: var(--v-stone); min-height: 0; cursor: zoom-in; color: #fff; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--v-ease); }
.g-item:hover img { transform: scale(1.03); }
.g-cap {
  position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: rgba(24, 26, 28, .72);
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff;
}
.g-zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(247, 246, 243, .9); color: var(--v-ink); opacity: 0; transition: opacity .3s; }
.g-zoom svg { width: 16px; height: 16px; }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; }
.g-text { background: var(--v-white); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--v-line); }
.g-text h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 16px; }
.g-text p { color: var(--v-muted); font-size: .95rem; }
.gallery-note { margin-top: 20px; font-size: .8rem; color: var(--v-muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1080; background: rgba(16, 17, 18, .985); color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity .3s var(--v-ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--v-gutter); border-bottom: 1px solid var(--v-line-dark); }
.lb-counter { font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--v-muted-dark); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px clamp(12px, 7vw, 110px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-caption { padding: 16px var(--v-gutter) 22px; text-align: center; font-size: .82rem; letter-spacing: .06em; color: #D7D6D2; min-height: 58px; }
.lb-btn { width: 52px; height: 52px; display: grid; place-items: center; background: transparent; border: 1px solid var(--v-line-dark); color: #fff; cursor: pointer; transition: border-color .25s, background-color .25s; }
.lb-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }
.lb-close { width: 48px; height: 48px; }
body.lb-lock { overflow: hidden; }

/* ---------- Apartment types page ---------- */
.apt-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.apt-filters .select-v select { min-width: 220px; }
.apt-list { margin-top: clamp(40px, 5vw, 72px); }
.apt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--v-line); }
.apt:first-child { border-top: 0; padding-top: 0; }
.apt-plan { background: var(--v-white); border: 1px solid var(--v-line); padding: clamp(10px, 2vw, 24px); display: block; cursor: zoom-in; position: relative; }
.apt-plan img { width: 100%; height: auto; aspect-ratio: 680 / 540; }
.apt-plan .g-zoom { opacity: 1; background: var(--v-paper); border: 1px solid var(--v-line); }
.apt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.apt-head h2 { font-size: clamp(3.2rem, 6vw, 5rem); margin: 0; line-height: .95; font-weight: 300; }
.apt .lead-serif { font-size: clamp(1.15rem, 1.6vw, 1.38rem); margin-bottom: 30px; }
.apt .meta-list { margin-bottom: 30px; }
.apt-projects { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 30px; }
.apt-projects a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--v-line); font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; background: var(--v-white); }
.apt-projects a:hover { border-color: var(--v-copper); color: var(--v-copper-ink); }
.apt-photo { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; font-size: .8rem; color: var(--v-muted); padding-top: 22px; border-top: 1px solid var(--v-line); }
.apt-photo .media { aspect-ratio: 1 / 1; }
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.compare caption { caption-side: top; text-align: left; font-size: .8rem; color: var(--v-muted); padding: 0 0 16px; }
.compare th, .compare td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--v-line); text-align: left; vertical-align: top; }
.compare thead th { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v-muted); border-bottom-color: var(--v-ink); }
.compare tbody th { font-family: var(--v-font-display); font-size: 1.5rem; font-weight: 400; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 6px; }

/* ---------- Sales / Contact ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.form-aside h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); max-width: 13ch; }
.form-aside .lead { margin-bottom: 44px; }
.steps { list-style: none; padding: 0; margin: 0 0 44px; border-top: 1px solid var(--v-line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--v-line); }
.steps h2 { font-family: var(--v-font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 2px 0 6px; line-height: 1.4; }
.steps p { margin: 0; font-size: .93rem; color: var(--v-muted); }
.form-panel { background: var(--v-white); border: 1px solid var(--v-line); padding: clamp(24px, 4vw, 56px); }
.form-panel .concept-note { margin-bottom: 32px; background: var(--v-paper); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--v-line); margin-bottom: 0; }
.contact-option { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--v-line); min-width: 0; }
.contact-option + .contact-option { padding-left: 24px; border-left: 1px solid var(--v-line); }
.contact-option h2 { font-family: var(--v-font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v-copper-ink); margin-bottom: 12px; }
.contact-option p { font-size: .92rem; color: var(--v-muted); margin-bottom: 14px; }
.contact-option a { font-family: var(--v-font-display); font-size: clamp(1rem, 1.25vw, 1.12rem); border-bottom: 1px solid var(--v-line); overflow-wrap: anywhere; }

/* ---------- Company ---------- */
.company-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; padding: clamp(48px, 7vw, 104px) 0 var(--v-section-sm); }
.company-hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); max-width: 11ch; margin-bottom: 36px; }
.company-hero .media { aspect-ratio: 3 / 4; max-height: 720px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--v-line); }
.pillar { padding: 36px 32px 44px 0; border-bottom: 1px solid var(--v-line); min-width: 0; }
.pillar:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--v-line); }
.pillar h3 { font-size: 1.5rem; margin: 16px 0 14px; }
.pillar p { font-size: .95rem; color: var(--v-muted); }
.materials { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(12px, 1.4vw, 20px); align-items: end; }
.materials figure { margin: 0; }
.materials .media { aspect-ratio: 4 / 5; }
.materials figure:nth-child(2) .media { aspect-ratio: 1 / 1; }
.materials figure:nth-child(3) .media { aspect-ratio: 3 / 4; }
.materials figcaption { margin-top: 12px; font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--v-muted); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; }
.process li { position: relative; padding: 40px 20px 0 0; min-width: 0; }
.process li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--v-line-dark); }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--v-night); border: 1.5px solid var(--v-copper-light); }
.process .step-no { font-family: var(--v-font-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--v-copper-light); display: block; margin-bottom: 18px; }
.process h3 { font-family: var(--v-font-body); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; line-height: 1.4; }
.process p { font-size: .9rem; color: var(--v-muted-dark); line-height: 1.6; }
.statement { font-family: var(--v-font-display); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.25; font-weight: 300; letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.statement em { color: var(--v-copper-ink); }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--v-header-h)); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.nf-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 120px) var(--v-gutter); max-width: 720px; margin-left: auto; width: 100%; }
.nf-code { font-family: var(--v-font-display); font-size: clamp(6rem, 16vw, 12rem); line-height: .9; font-weight: 250; color: var(--v-stone); letter-spacing: -.04em; margin-bottom: 28px; }
.nf h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14ch; }
.nf .media { min-height: 360px; height: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space:nth-child(2) { border-right: 0; }
  .space:nth-child(3) { padding-left: 0; }
  .space:nth-child(n + 3) { border-top: 1px solid var(--v-line); }
  .about-grid .meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .feature-grid, .approach-grid, .projects-intro, .about-grid, .arch-grid, .location-grid, .form-layout, .company-hero, .apt, .cta-simple { grid-template-columns: minmax(0, 1fr); }
  .feature-media { aspect-ratio: 4 / 4.2; }
  .approach-media { aspect-ratio: 4 / 3; }
  .project-mosaic { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .p-tile:nth-child(n) { grid-column: auto; margin-top: 0; }
  .p-tile:nth-child(n) .media { aspect-ratio: 4 / 3; }
  .cta-band, .next-project, .nf { grid-template-columns: minmax(0, 1fr); }
  .cta-band .media { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .next-project .media { min-height: 0; height: auto; aspect-ratio: 16 / 9; order: -1; }
  .arch-grid .media { aspect-ratio: 4 / 3; }
  .company-hero .media { aspect-ratio: 16 / 10; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(n) { padding: 32px 24px 36px 0; border-left: 0; }
  .pillar:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--v-line); }
  .ptype { grid-template-columns: 140px minmax(0, 1fr); }
  .ptype > .arrow { display: none; }
  .ptype-data { grid-column: 2; }
  .nf .media { order: -1; min-height: 0; height: auto; width: 100%; aspect-ratio: 16 / 7; }
  .nf-body { margin: 0; }
}
@media (max-width: 767.98px) {
  .project-list { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .g-row--pair, .g-row--5-7, .g-row--7-5, .g-row--split { grid-template-columns: minmax(0, 1fr); height: auto; }
  .g-row--full { height: auto; }
  .g-row .g-item { aspect-ratio: 4 / 3; }
  .g-row--pair .g-item { aspect-ratio: 4 / 5; }
  .g-row--full .g-item { aspect-ratio: 4 / 3; }
  .g-zoom { opacity: 1; width: 36px; height: 36px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .lb-stage { padding: 12px 12px 72px; }
  .process { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .process li { padding: 0 0 32px 36px; }
  .process li::before { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .process li::after { top: 4px; }
  .process li:last-child::before { bottom: auto; height: 14px; }
  .process .step-no { font-size: 2rem; margin-bottom: 10px; }
  .materials { grid-template-columns: 1fr 1fr; }
  .materials figure:first-child { grid-column: span 2; }
  .materials figure:first-child .media { aspect-ratio: 4 / 3; }
  .spaces { grid-template-columns: minmax(0, 1fr); }
  .space:nth-child(n) { padding: 26px 0 8px; border-right: 0; border-top: 0; border-bottom: 1px solid var(--v-line); }
  .contact-options, .form-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .contact-option + .contact-option { padding-left: 0; border-left: 0; }
  .contact-option { padding-right: 0; }
}
@media (max-width: 575.98px) {
  .type-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:nth-child(n) { padding: 28px 0 32px; border-left: 0; }
  .about-grid .meta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptype { grid-template-columns: 96px minmax(0, 1fr); gap: 12px 18px; }
  .ptype-main .type-name { font-size: 1.9rem; }
  .ptype-data { gap: 18px; flex-wrap: wrap; }
  .apt-filters { align-items: stretch; }
  .apt-filters .select-v, .apt-filters .select-v select { width: 100%; }
  .apt-head h2 { font-size: 3rem; }
  .feature-aside { grid-template-columns: 84px 1fr; }
  .p-tile-body { grid-template-columns: auto 1fr; }
  .p-tile-body .status { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 8px; }
  .p-tile-body .meta-inline { grid-column: 2; }
}

/* ---------- Sales aside quick contact ---------- */
.quick-contact { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--v-line); }
.quick-contact li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--v-line); font-size: .92rem; }
.quick-contact span { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v-muted); padding-top: 3px; }
.quick-contact a { font-weight: 600; border-bottom: 1px solid var(--v-line); justify-self: start; word-break: break-word; }

/* ---------- Contact aside: phone + social ---------- */
.contact-phone, .contact-social { padding: 24px 0; border-bottom: 1px solid var(--v-line); }
.contact-phone h2, .contact-social h2 { font-family: var(--v-font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--v-copper-ink); margin-bottom: 12px; }
.contact-phone a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--v-font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); }
.contact-phone a svg { width: 18px; height: 18px; color: var(--v-copper); }
.contact-phone p { margin: 6px 0 0; font-size: .84rem; color: var(--v-muted); }
.contact-social { border-bottom: 0; }

/* ---------- Offices + maps ---------- */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.office { min-width: 0; display: flex; flex-direction: column; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--v-stone-soft); border: 1px solid var(--v-line); overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.04) brightness(1.02); transition: filter .6s var(--v-ease); }
.map-frame:hover iframe, .map-frame:focus-within iframe { filter: none; }
.map-tag { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(24, 26, 28, .82); padding: 7px 10px; pointer-events: none; }
.office-body { padding-top: 28px; display: flex; flex-direction: column; flex: 1; }
.office-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--v-copper-ink); margin-bottom: 10px; }
.office-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 6px; }
.office-city { font-size: .82rem; color: var(--v-muted); margin-bottom: 18px; }
.office-text { color: var(--v-muted); max-width: 48ch; }
.office .meta-list { margin: 10px 0 30px; }
.office .btn-row { margin-top: auto; }
.offices-note { margin: 40px 0 0; font-size: .82rem; color: var(--v-muted); }

@media (max-width: 767.98px) {
  .offices { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .map-frame { aspect-ratio: 4 / 3.4; }
  .quick-contact li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
