/* ========================================
   PAGES.CSS — All inner page styles
   About · Work · Media · Gallery · Contact
   ======================================== */

/* ── PAGE BANNER ── */
.page-banner {
  position: relative; height: 380px;
  overflow: hidden; margin-top: 68px;
  display: flex; align-items: flex-end;
}
.pb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,18,8,0.85) 0%, rgba(30,18,8,0.3) 60%, transparent 100%); }
.pb-content { position: relative; z-index: 1; padding-bottom: 40px; color: #fff; }
.pb-content h1 { font-family: var(--serif); font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: #fff; margin: 10px 0 6px; }
.pb-content p { font-size: 1rem; color: rgba(255,255,255,0.78); max-width: 520px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 0.75rem; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── ABOUT PAGE ── */
.about-layout { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.about-img-col { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; }
.ab-img-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--linen); }
.ab-img-main img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ab-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-sm { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--linen); }
.ab-sm img { width: 100%; height: 100%; object-fit: cover; }
.ab-quote { background: var(--saffron); color: #fff; border-radius: var(--r); padding: 20px; }
.abq-mark { font-family: var(--serif); font-size: 2.5rem; color: rgba(255,255,255,0.5); line-height: 1; display: block; margin-bottom: 4px; }
.ab-quote p { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: rgba(255,255,255,0.92); margin-bottom: 10px; line-height: 1.6; }
.ab-quote strong { font-family: var(--sans); font-size: 0.75rem; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; }

/* About text col */
.about-text-col h2 { margin-bottom: 16px; }
.about-text-col p { margin-bottom: 14px; }

/* TIMELINE V2 */
.timeline-v2 { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.timeline-v2 h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 24px; }
.tl-item { display: flex; gap: 16px; padding-bottom: 24px; position: relative; }
.tl-item::after { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::after { display: none; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--gold)); flex-shrink: 0; margin-top: 3px; }
.tl-body { flex: 1; }
.tl-yr { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); display: block; margin-bottom: 4px; }
.tl-body h4 { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.tl-body p { font-size: 0.88rem; color: var(--ink-light); }

/* VALUES GRID */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.val-card { background: var(--linen); border: 1px solid var(--border-warm); border-radius: var(--r); padding: 18px; }
.val-icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.val-card h4 { font-family: var(--serif); font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.val-card p { font-size: 0.82rem; color: var(--ink-light); }

/* ── WORK PAGE ── */
.stats-bar { background: linear-gradient(90deg, var(--saffron), var(--gold)); padding: 20px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-b { text-align: center; padding: 0 16px; }
.stat-b + .stat-b { border-left: 1px solid rgba(255,255,255,0.3); }
.sb-num { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1; }
.sb-lbl { display: block; font-family: var(--sans); font-size: 0.7rem; color: rgba(255,255,255,0.82); margin-top: 4px; letter-spacing: 0.04em; }

.scheme-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--border); }
.scheme-block:last-child { border-bottom: none; }
.scheme-block.scheme-reverse { direction: rtl; }
.scheme-block.scheme-reverse > * { direction: ltr; }
.sb-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--linen); }
.sb-img img { width: 100%; height: 100%; object-fit: cover; }
.sb-text h2 { font-size: 1.6rem; margin: 10px 0 14px; }
.sb-text p { margin-bottom: 16px; }
.scheme-points { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--linen); border-radius: var(--r); border-left: 3px solid var(--saffron); }
.scheme-points li { font-size: 0.88rem; color: var(--ink-mid); display: flex; gap: 8px; }
.scheme-points li::before { content: '✦'; color: var(--saffron); font-size: 0.65rem; flex-shrink: 0; margin-top: 3px; }

/* ── MEDIA PAGE ── */
.media-img-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 0; }
.mig-item { border-radius: var(--r); overflow: hidden; position: relative; background: var(--linen); }
.mig-large { aspect-ratio: 16/9; }
.mig-stack { display: flex; flex-direction: column; gap: 14px; }
.mig-stack .mig-item { flex: 1; aspect-ratio: 4/3; }
.mig-item img { width: 100%; height: 100%; object-fit: cover; }
.mig-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(30,18,8,0.85), transparent); color: #fff; padding: 28px 14px 12px; font-family: var(--sans); font-size: 0.8rem; font-weight: 500; }

/* PIB LIST */
.pib-list { display: flex; flex-direction: column; gap: 0; }
.pib-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--warm-white); border: 1px solid var(--border-warm); border-radius: var(--r); margin-bottom: 8px; transition: var(--ease); }
.pib-item:hover { border-color: var(--saffron); transform: translateX(4px); box-shadow: var(--sh); }
.pi-left { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; min-width: 56px; }
.pi-badge { font-family: var(--sans); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: var(--saffron); padding: 3px 8px; border-radius: 4px; }
.pi-id { font-family: var(--sans); font-size: 0.6rem; color: var(--ink-light); }
.pi-body { flex: 1; }
.pi-body h4 { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.pi-body p { font-size: 0.8rem; color: var(--ink-light); }
.pi-arr { color: var(--saffron); font-size: 1.1rem; flex-shrink: 0; }

/* SOCIAL CARDS */
.social-cards-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.soc-card-big { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-warm); transition: var(--ease); color: inherit; }
.soc-card-big:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.scb-img { aspect-ratio: 4/3; overflow: hidden; }
.scb-img img { width: 100%; height: 100%; object-fit: cover; }
.scb-body { padding: 20px; }
.scb-ico { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.scb-body h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.scb-body p { font-size: 0.82rem; color: var(--ink-light); margin-bottom: 10px; }
.scb-handle { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; color: var(--saffron); display: block; margin-bottom: 12px; }
.scb-btn { display: inline-block; padding: 8px 16px; background: var(--saffron); color: #fff; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; border-radius: 6px; }

/* ── GALLERY PAGE ── */
.gal-filter-bar { background: var(--linen); padding: 16px 0; border-bottom: 1px solid var(--border); }
.gal-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gf-btn { padding: 8px 18px; border: 1.5px solid var(--border-warm); border-radius: 100px; background: var(--warm-white); font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--ink-mid); cursor: pointer; transition: var(--ease); }
.gf-btn.active, .gf-btn:hover { border-color: var(--saffron); color: var(--saffron); background: var(--saffron-pale); }

.gal-masonry { columns: 4; column-gap: 12px; }
.gal-item { break-inside: avoid; margin-bottom: 12px; border-radius: var(--r); overflow: hidden; cursor: pointer; position: relative; background: var(--linen); display: block; }
.gal-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-wide { column-span: all; }
.gi-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,18,8,0.82), transparent 55%); opacity: 0; transition: var(--ease); display: flex; align-items: flex-end; padding: 14px; }
.gal-item:hover .gi-ov { opacity: 1; }
.gi-ov span { color: #fff; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(20,10,4,0.93); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox.hidden { display: none; }
.lb-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.8rem; cursor: pointer; line-height: 1; transition: var(--ease); }
.lb-close:hover { color: #fff; }
#lb-img { max-width: 90vw; max-height: 80vh; border-radius: var(--r); object-fit: contain; }
.lb-cap { color: rgba(255,255,255,0.7); font-family: var(--sans); font-size: 0.82rem; margin-top: 14px; text-align: center; }

/* ── CONTACT PAGE ── */
.connect-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.conn-left h2 { font-size: 1.8rem; margin-bottom: 12px; }
.conn-left > p { margin-bottom: 24px; }

.soc-connect-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.scl-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--border-warm); border-radius: var(--r); background: var(--warm-white); transition: var(--ease); }
.scl-item:hover { border-color: var(--saffron); transform: translateX(4px); }
.scli-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.scl-fb .scli-icon { background: rgba(24,119,242,0.1); }
.scl-ig .scli-icon { background: rgba(225,48,108,0.1); }
.scl-tw .scli-icon { background: rgba(0,0,0,0.06); }
.scli-text { flex: 1; }
.scli-text strong { display: block; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.scli-text span { font-size: 0.78rem; color: var(--ink-light); }
.scli-action { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; color: var(--saffron); white-space: nowrap; }

.conn-official { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.conn-official h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 10px; }
.co-link { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); transition: var(--ease); }
.co-link:hover { border-color: var(--saffron); }
.co-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.co-link strong { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.co-link span { font-size: 0.78rem; color: var(--ink-light); }

.scheme-info-box { background: var(--saffron-pale); border: 1px solid rgba(232,97,10,0.2); border-radius: var(--r); padding: 20px; border-left: 4px solid var(--saffron); }
.scheme-info-box h4 { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.scheme-info-box p { font-size: 0.85rem; color: var(--ink-mid); margin-bottom: 14px; }

/* CONTACT FORM */
.contact-form-card { background: var(--warm-white); border: 1px solid var(--border-warm); border-radius: var(--r-lg); padding: 36px; }
.contact-form-card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.contact-form-card > p { font-size: 0.88rem; color: var(--ink-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grp { margin-bottom: 16px; }
.form-grp label { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 6px; }
.form-grp input, .form-grp select, .form-grp textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border-warm); border-radius: 8px; background: var(--cream); font-family: var(--sans); font-size: 0.9rem; color: var(--ink); outline: none; transition: var(--ease); }
.form-grp input:focus, .form-grp textarea:focus, .form-grp select:focus { border-color: var(--saffron); background: var(--warm-white); }
.form-grp textarea { resize: vertical; min-height: 110px; }
.form-submit-btn { width: 100%; padding: 13px; background: var(--saffron); color: #fff; border: none; border-radius: 8px; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: var(--ease); }
.form-submit-btn:hover { background: var(--saffron-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,97,10,0.3); }
.form-success { text-align: center; padding: 32px 20px; }
.form-success.hidden { display: none; }
.fs-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.form-success h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--green); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--ink-light); }

/* BOTTOM PHOTO STRIP */
.bottom-photo-strip { display: flex; height: 180px; }
.bps-item { flex: 1; overflow: hidden; }
.bps-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: var(--ease); }
.bps-item:hover img { filter: brightness(1); transform: scale(1.04); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-img-col { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
  .ab-img-main { grid-column: span 2; aspect-ratio: 16/9; }
  .ab-quote { grid-column: span 2; }
  .scheme-block, .scheme-block.scheme-reverse { grid-template-columns: 1fr; direction: ltr; }
  .scheme-block.scheme-reverse .sb-img { order: -1; }
  .media-img-grid { grid-template-columns: 1fr; }
  .mig-stack { flex-direction: row; }
  .social-cards-row { grid-template-columns: 1fr 1fr; }
  .connect-layout { grid-template-columns: 1fr; }
  .gal-masonry { columns: 3; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-b + .stat-b { border-left: none; }
  .stat-b:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.3); }
}
@media (max-width: 768px) {
  .page-banner { height: 280px; }
  .gal-masonry { columns: 2; }
  .social-cards-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .bottom-photo-strip { height: 100px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gal-masonry { columns: 1; }
  .gal-wide { column-span: none; }
}
