/* =====================================================================
   AMELIA INFRATECH — home.css
   Section styles specific to the main showcase/landing page
   ===================================================================== */

/* --------------------------------------------------------------- HERO */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--chalk); overflow: hidden;
  background: var(--ink);
  padding-top: 110px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.96;
  filter: brightness(0.96) contrast(1.04) saturate(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 14, 12, 0.84) 0%, rgba(10, 14, 12, 0.28) 32%, transparent 60%),
    linear-gradient(to right, rgba(10, 14, 12, 0.74) 0%, rgba(10, 14, 12, 0.36) 44%, rgba(10, 14, 12, 0.04) 75%),
    linear-gradient(to bottom, rgba(8, 12, 10, 0.65) 0%, rgba(8, 12, 10, 0.15) 18%, transparent 32%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 5vh, 4rem) var(--edge) clamp(2.4rem, 6vw, 4.4rem);
  display: grid; grid-template-columns: 1.4fr 0.85fr; align-items: flex-end; gap: clamp(1.8rem, 4vw, 3.5rem);
}
.hero-lead {
  position: relative;
  z-index: 2;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.25rem;
  background: rgba(16, 22, 18, 0.62);
  border: 1px solid rgba(232, 200, 122, 0.38);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8C87A;
}
.hero-badge .hb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8C87A;
  box-shadow: 0 0 8px #E8C87A;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  line-height: 1.08;
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 6px 28px rgba(0, 0, 0, 0.7);
}
.hero-title .it {
  font-style: italic;
  font-weight: 300;
  color: #F8F5EE;
}
.hero-desc {
  font-size: clamp(0.96rem, 1.2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 300;
  max-width: 52ch;
  margin: 0 0 0.85rem;
  line-height: 1.72;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85), 0 3px 18px rgba(0, 0, 0, 0.6);
}
.hero-subdesc {
  font-size: clamp(0.85rem, 1.02vw, 0.96rem);
  color: #E8C87A;
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 50ch;
  margin: 0 0 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-btn-primary {
  background: #C7A968;
  color: #101411 !important;
  border: 1px solid #C7A968;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.85rem;
  border-radius: 3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s var(--ease);
}
.hero-btn-primary:hover {
  background: #D8BD80;
  border-color: #D8BD80;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199, 169, 104, 0.35);
}
.hero-btn-secondary {
  background: rgba(16, 22, 18, 0.52);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.3s var(--ease);
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}
.hero-btn-secondary svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}
.hero-btn-secondary:hover svg {
  transform: translateX(4px);
}

.hero-facts {
  position: relative;
  z-index: 2;
  justify-self: end;
  text-align: right;
  padding: 1.5rem 1.8rem;
  background: rgba(12, 18, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid rgba(232, 200, 122, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}
.hero-price {
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 244, 239, 0.14);
}
.hero-price .l {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8C87A;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.hero-price .v {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  justify-content: flex-end;
}
.hero-mini li {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 239, 0.72);
}
.hero-mini li span {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
  font-weight: 400;
}
.hero-scroll {
  position: absolute; right: var(--edge); left: auto; bottom: 1.6rem; z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); display: inline-flex; align-items: center; gap: 0.6rem;
  opacity: 0.8; transition: opacity 0.3s, color 0.3s;
}
.hero-scroll:hover { opacity: 1; color: #E8C87A; }
.hero-scroll svg { width: 14px; height: 14px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ----------------------------------------------------------- OVERVIEW */
.overview { background: var(--chalk); }
.overview-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.overview-copy .lead { margin-bottom: 1.5rem; }
.spec-list {
  display: grid; grid-template-columns: 1fr;
  margin: 0; border-top: 1px solid var(--stone);
}
.spec-list > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--stone-2);
}
.spec-list dt {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage);
}
.spec-list dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); text-align: right; }

.stat-band {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem; border-top: 2px solid var(--ink);
  padding-top: clamp(1.8rem, 3.5vw, 2.6rem);
}
.stat { display: flex; flex-direction: column; }
.stat .n {
  font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1; color: var(--ink); margin-bottom: 0.4rem; font-weight: 400;
}
.stat .n em { font-style: italic; font-size: 0.65em; }
.stat .l {
  font-size: 0.64rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage);
}

/* ------------------------------------------------------------- DESIGN */
.design {
  background: var(--ink); color: var(--chalk);
  display: grid; grid-template-columns: 0.85fr 1.25fr;
  align-items: stretch; gap: 0;
  max-width: none; margin: 0; padding: 0;
}
.design-media {
  position: relative; width: 100%; height: 100%; min-height: 100%;
  background: var(--ink-2); overflow: hidden;
}
.design-media .img-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
}
.design-media .img-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.design-body {
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(2rem, 5vw, 6rem) clamp(3.5rem, 6vw, 6.5rem) clamp(2rem, 4.5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 900px; width: 100%;
}
.design .sec-head { margin-bottom: 1.5rem; }
.design-stages {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2.2rem; margin: 2rem 0;
}
.design-stage {
  display: flex; gap: 0.9rem; align-items: flex-start;
  border-left: 2px solid var(--brass); padding-left: 1.1rem;
}
.design-stage.ds-full {
  grid-column: 1 / -1;
  background: rgba(244,244,239,0.03);
  border: 1px solid rgba(199,169,104,0.22);
  border-left: 3px solid var(--brass);
  padding: 1rem 1.3rem;
}
.ds-idx {
  font-family: var(--serif); font-size: 1rem; font-style: italic;
  color: #C7A968; line-height: 1.2; flex: none;
}
.design-stage h4 {
  color: var(--chalk); font-family: var(--sans); font-size: 0.92rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.design-stage p {
  color: rgba(244,244,239,0.76); font-size: 0.88rem; line-height: 1.55; margin: 0;
}
.design-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem 2.2rem;
  margin-top: 1.8rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(244,244,239,0.16);
}
.design-footer .signoff {
  margin: 0; padding: 0; border-top: none;
  display: flex; align-items: center; gap: 1rem;
}
.design-footer .signoff .sig {
  font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--chalk);
  white-space: nowrap;
}
.design-footer .signoff .role {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone);
  border-left: 1px solid rgba(244,244,239,0.25); padding-left: 1rem; line-height: 1.6;
}
.design-footer .design-stats {
  margin: 0; padding: 0; border-top: none;
  display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.design-footer .design-stats .stat { display: flex; flex-direction: column; }
.design-footer .design-stats .stat .n {
  color: var(--chalk); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.1; margin-bottom: 0.2rem;
}
.design-footer .design-stats .stat .l {
  color: var(--stone); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ------------------------------------------------------------ OUR WORK / ARCHITECTURAL PORTFOLIO */
.built-work {
  background: var(--mist);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.work-header-toolbar {
  margin-bottom: 2rem;
}
.wht-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.work-lead-text {
  max-width: 68ch;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}
.wht-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.12);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(28, 34, 31, 0.04);
  white-space: nowrap;
}
.wht-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 3px rgba(154, 123, 68, 0.2);
}
.wht-count-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Project Filter Tabs */
.work-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}
.work-filter-btn {
  appearance: none;
  border: 1px solid rgba(28, 34, 31, 0.15);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.work-filter-btn:hover {
  border-color: var(--brass);
  color: var(--ink);
  transform: translateY(-1px);
}
.work-filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--chalk);
  box-shadow: 0 4px 14px rgba(28, 34, 31, 0.18);
}
.work-filter-btn .wf-count {
  font-size: 0.68rem;
  opacity: 0.7;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(28, 34, 31, 0.08);
}
.work-filter-btn.is-active .wf-count {
  background: rgba(255, 255, 255, 0.18);
  color: var(--chalk);
  opacity: 1;
}

/* Contextual Project Summary Banner */
.work-summary-panels {
  margin-bottom: 2rem;
}
.work-summary-panel {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}
.work-summary-panel.is-active {
  display: block;
}
.wsp-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.1);
  border-radius: 2px;
}
.wsp-pill {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.wsp-pill:not(:last-child)::after {
  content: "•";
  margin-left: 0.75rem;
  color: var(--stone);
  opacity: 0.6;
}
.wsp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}

.wsp-project-card {
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.1);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: 0 8px 24px -6px rgba(28, 34, 31, 0.06);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.wsp-info .wsp-loc {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.wsp-info .wsp-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 0.65rem;
}
.wsp-info .wsp-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
.wsp-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(28, 34, 31, 0.1);
}
.wsp-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.wsp-spec-item .lbl {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}
.wsp-spec-item .val {
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* Portfolio Cards Grid */
.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.1);
  box-shadow: 0 6px 20px -6px rgba(28, 34, 31, 0.06);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(28, 34, 31, 0.14);
  border-color: rgba(154, 123, 68, 0.45);
}
.work-card.is-hidden {
  display: none !important;
}

/* Card Media */
.work-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  max-height: 250px;
  background: #0d120f;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease), filter 0.3s ease;
}
.work-card-media:hover img {
  transform: scale(1.05);
  filter: brightness(0.94);
}

/* Badges on Card Media */
.wc-badge {
  position: absolute;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.wc-badge.loc-tag {
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 25, 22, 0.85);
  color: var(--chalk);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.wc-badge.type-tag {
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(28, 34, 31, 0.1);
}
.wc-badge.video-tag {
  background: rgba(154, 123, 68, 0.95);
  color: #171b18;
  border: none;
}

/* Video Play Overlay Button */
.wc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(154, 123, 68, 0.95);
  color: #1a1e1b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease), background 0.3s ease;
  pointer-events: none;
}
.work-card:hover .wc-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #deb662;
}
.wc-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

/* Zoom Hover Indicator */
.wc-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: rgba(20, 25, 22, 0.75);
  backdrop-filter: blur(6px);
  color: var(--chalk);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.work-card:hover .wc-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.wc-zoom-hint svg {
  width: 15px;
  height: 15px;
}

/* Card Content / Typography */
.work-card-info {
  padding: 1.25rem 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wc-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.wc-cat {
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.wc-record-num {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 500;
}
.wc-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.wc-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 1.1rem;
  flex: 1;
}
.wc-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(28, 34, 31, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}
.wc-action-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.work-card:hover .wc-action-btn {
  color: var(--brass);
  gap: 0.65rem;
}
.work-card:hover .wc-action-btn svg {
  transform: translateX(2px);
}
.wc-media-type-tag {
  font-size: 0.65rem;
  color: var(--stone);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Pagination Bar */
.work-pagination-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 34, 31, 0.1);
}
.work-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wp-nav-btn {
  appearance: none;
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.15);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
}
.wp-nav-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.wp-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(28, 34, 31, 0.1);
}
.wp-nav-btn svg {
  width: 14px;
  height: 14px;
}
.wp-pages {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wp-page-btn {
  appearance: none;
  background: #FFFFFF;
  border: 1px solid rgba(28, 34, 31, 0.15);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.wp-page-btn:hover:not(.is-active) {
  border-color: var(--brass);
  color: var(--brass);
  transform: translateY(-1px);
}
.wp-page-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--chalk);
  box-shadow: 0 4px 12px rgba(28, 34, 31, 0.18);
  cursor: default;
}
.wp-status-text {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
}
.wp-status-text strong, .wp-range, .wp-total {
  color: var(--ink);
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .work-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .wsp-project-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wsp-specs {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(28, 34, 31, 0.1);
    padding-top: 1.2rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .work-filter-tabs {
    gap: 0.5rem;
  }
  .work-filter-btn {
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }
  .wsp-specs {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .wht-top {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .work-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .work-card-media {
    max-height: 220px;
  }
  .work-pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --------------------------------------------------------- QUOTE BAND */
.quote-band {
  position: relative; min-height: 55vh;
  display: flex; align-items: center; justify-content: center;
  color: var(--chalk); overflow: hidden; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) var(--edge);
}
.quote-media { position: absolute; inset: 0; z-index: 0; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65); }
.quote-media::after { content: ""; position: absolute; inset: 0; background: rgba(20,25,22,0.65); }
.quote-inner { position: relative; z-index: 1; max-width: 48ch; margin: 0; }
.quote-inner p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.28; margin: 0 0 1.6rem; color: var(--chalk);
}
.quote-inner cite {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--stone); font-style: normal;
}

/* -------------------------------------------------------- FLOOR PLANS */
.plans { background: var(--chalk); }
.plans-shell { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.6rem, 3vw, 2.8rem); align-items: start; }
.plans-tabs { display: flex; flex-direction: column; gap: 0.6rem; }
.plan-tab {
  background: var(--chalk); border: 1px solid var(--stone);
  padding: 1.1rem 1.2rem; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem;
  align-items: baseline; transition: background 0.3s, border-color 0.3s;
}
.plan-tab:hover { border-color: var(--ink); }
.plan-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.pt-idx { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brass); }
.plan-tab.is-active .pt-idx { color: #C7A968; }
.pt-name { font-family: var(--serif); font-size: 1.05rem; }
.pt-area { grid-column: 2; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.plan-tab.is-active .pt-area { color: var(--stone); }

.plans-stage { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.4rem, 2.5vw, 2.2rem); background: var(--mist); border: 1px solid var(--stone); padding: clamp(1.2rem, 2.5vw, 2.2rem); }
.plan-canvas { background: var(--white); border: 1px solid var(--stone-2); padding: 1rem; position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.plan { display: none; width: 100%; height: auto; max-height: 480px; }
.plan.is-active { display: block; }

/* SVG Plan Styling */
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.plan .room { fill: rgba(196,200,189,0.22); stroke: var(--stone); stroke-width: 1.2; }
.plan .room.small { fill: rgba(196,200,189,0.35); }
.plan .room.light { fill: rgba(232,234,226,0.5); }
.plan .room.dark { fill: var(--ink-2); }
.plan .terrace { fill: rgba(154,123,68,0.12); stroke: var(--brass); stroke-dasharray: 4 4; stroke-width: 1.2; }
.plan .pool { fill: rgba(90,120,130,0.18); stroke: rgba(90,120,130,0.6); stroke-width: 1.2; }
.plan .rlab { fill: var(--ink); font-family: var(--sans); font-size: 13.5px; font-weight: 500; }
.plan .rlab.sm { font-size: 11px; }
.plan .rlab.out { fill: var(--brass-dk); }
.plan .rlab.inv { fill: var(--chalk); }
.plan .rdim { fill: var(--sage); font-size: 11.5px; letter-spacing: 0.04em; }
.plan .rdim.inv { fill: var(--stone); }
.plan .tick { stroke: var(--sage); stroke-width: 1; }
.plan .scale { fill: var(--sage); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-anchor: middle; }

.plan-legend { background: var(--ink); color: var(--chalk); padding: clamp(1.6rem, 3vw, 2.4rem); }
.legend-block h3 { font-family: var(--serif); font-size: 1.55rem; color: var(--chalk); margin-bottom: 0.9rem; }
.legend-block p { font-size: 0.92rem; color: rgba(244,244,239,0.72); line-height: 1.66; margin-bottom: 1.4rem; }
.legend-block ul { list-style: none; margin: 0; padding: 0; }
.legend-block li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0; border-top: 1px solid rgba(244,244,239,0.14);
  font-size: 0.9rem; color: var(--chalk);
}
.legend-block li::before { content: ""; width: 6px; height: 6px; background: #C7A968; flex: none; }

/* ----------------------------------------------------------- FEATURES */
.features { background: var(--chalk); }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); }
.fc-head {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 1rem; margin-bottom: 0.4rem; border-bottom: 2px solid var(--ink);
}
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--stone-2); align-items: start;
}
.feature-list svg { width: 26px; height: 26px; color: var(--brass); margin-top: 2px; }
.feature-list div { font-size: 0.9rem; color: var(--slate); line-height: 1.55; }
.feature-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.08rem; color: var(--ink); margin-bottom: 0.15rem; }

/* ------------------------------------------------------------ SETTING */
.setting { background: var(--mist); }
.setting-feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center; margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.setting-feature .img-frame { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.setting-intro .lead { margin-bottom: 1.3rem; }
.setting-lower { display: grid; grid-template-columns: 1.55fr 0.9fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.locale-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.locale .img-frame { aspect-ratio: 4 / 5; margin-bottom: 1rem; }
.locale h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 0.5rem; }
.locale p { font-size: 0.86rem; color: var(--slate); line-height: 1.6; margin: 0; }

/* Architectural Placeholder Plate */
.locale-plate {
  position: relative;
  background: linear-gradient(145deg, #1C221F 0%, #252D28 100%);
  border: 1px solid rgba(28,34,31,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.plate-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(244,244,239,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,244,239,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.plate-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--chalk);
}
.plate-badge {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C7A968;
  font-weight: 600;
}
.plate-icon {
  color: rgba(244,244,239,0.45);
  margin: 0.2rem 0;
}
.plate-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--chalk);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.plate-coords {
  font-size: 0.68rem;
  color: var(--stone);
  letter-spacing: 0.08em;
}
.plate-status {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,244,239,0.7);
  background: rgba(244,244,239,0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  border: 1px solid rgba(244,244,239,0.12);
}

.distances { background: var(--ink); color: var(--chalk); padding: clamp(1.6rem, 3vw, 2.4rem); }
.dist-head { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #C7A968; margin-bottom: 1rem; }
.distances ul { list-style: none; margin: 0; padding: 0; }
.distances li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-top: 1px solid rgba(244,244,239,0.14);
}
.d-place { font-size: 0.9rem; color: rgba(244,244,239,0.86); }
.d-time { font-family: var(--serif); font-size: 1.05rem; color: var(--chalk); white-space: nowrap; }

/* ------------------------------------------------------------ ENQUIRE */
.enquire { background: var(--ink); color: var(--chalk); }
.enquire-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }

.agent-card { background: var(--ink-2); border: 1px solid rgba(244,244,239,0.12); }
.agent-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.agent-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.agent-info { padding: clamp(1.4rem, 3vw, 2rem); }
.agent-eyebrow { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: #C7A968; margin-bottom: 0.7rem; }
.agent-name { font-family: var(--serif); font-size: 1.7rem; color: var(--chalk); margin-bottom: 0.25rem; }
.agent-role { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); margin-bottom: 1rem; }
.agent-blurb { font-size: 0.9rem; color: rgba(244,244,239,0.7); line-height: 1.6; margin-bottom: 1.3rem; }
.agent-contact { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(244,244,239,0.14); }
.agent-contact > div { display: flex; align-items: baseline; gap: 1rem; padding: 0.5rem 0; }
.agent-contact dt { width: 4.5rem; flex: none; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); }
.agent-contact dd { margin: 0; font-size: 0.95rem; color: var(--chalk); }
.agent-contact a { transition: color 0.3s var(--ease); }
.agent-contact a:hover { color: #C7A968; }

.enquire-form { background: transparent; }
.form-intro { color: rgba(244,244,239,0.78); font-size: 1rem; margin-bottom: 1.8rem; max-width: 52ch; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.field label { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.55rem; }
.field label .opt { color: var(--sage); letter-spacing: 0.04em; text-transform: none; }
.field input, .field textarea, .field select {
  background: var(--ink-2); border: 1px solid rgba(244,244,239,0.18);
  color: var(--chalk); font-family: var(--sans); font-size: 0.98rem;
  padding: 0.85rem 0.95rem; width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field select option { background: var(--ink-2); color: var(--chalk); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--sage); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #C7A968; background: #20261F; }
.field input:invalid.touched, .field select:invalid.touched { border-color: #C67B5A; }
.field input[type="date"] { color-scheme: dark; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 0.4rem; }
.enquire-form .btn-fill { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.enquire-form .btn-fill:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }
.form-msg { margin: 0; font-size: 0.82rem; letter-spacing: 0.02em; }
.form-msg.err { color: #E7A98C; }
.form-msg.ok { color: #9FD3A6; }
.form-fine { font-size: 0.72rem; color: var(--sage); margin-top: 1.2rem; line-height: 1.5; }

/* =====================================================================
   RESPONSIVE BREAKPOINTS (HOME SPECIFIC)
   Overrides desktop-only layout rules so mobile viewport scales cleanly
   ===================================================================== */

@media (max-width: 1080px) {
  .plans-stage {
    grid-template-columns: 1fr;
  }
  .plan-legend {
    order: -1;
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 90px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .design {
    grid-template-columns: 1fr;
  }
  .design-media {
    min-height: 45vh;
    height: auto;
  }
  .design-body {
    padding: clamp(2.5rem, 5vw, 4rem) var(--edge);
    max-width: 100%;
  }
  .design-stages {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .design-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }
  .design-footer .design-stats {
    flex-wrap: wrap;
    gap: 1.4rem 2rem;
  }
  .setting-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .setting-lower {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .plans-shell {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .plans-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .plan-tab {
    flex: 1 1 calc(50% - 0.5rem);
  }
  .enquire-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero-facts {
    justify-self: stretch;
    text-align: left;
    border-top: 2px solid rgba(232, 200, 122, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1.2rem 1.4rem;
    width: 100%;
  }
  .hero-mini {
    justify-content: space-between;
  }
  .hero-mini li {
    align-items: flex-start;
  }
  .hero-price .l, .hero-price .v {
    text-align: left;
  }
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    border-top: 2px solid var(--ink);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 42vw, 260px);
    gap: 8px;
  }
  .g-wide, .g-tall, .g-med, .g-std, .g-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .g-item:nth-child(5) {
    grid-column: 1 / -1 !important;
  }
  .g-meta {
    opacity: 1;
    transform: none;
  }
  .feature-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .locale-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .locale {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.2rem;
    align-items: center;
  }
  .locale .img-frame {
    aspect-ratio: 1;
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .stat-band {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 0.8rem;
  }
  .plans-tabs {
    flex-direction: column;
  }
  .plan-tab {
    flex: 1 1 100%;
    width: 100%;
  }
  .plans-stage {
    padding: 1rem;
    gap: 1.2rem;
  }
  .plan-canvas {
    min-height: 250px;
    padding: 0.5rem;
    overflow: hidden;
  }
  .plan {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .project-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .project-card {
    padding: 1.4rem;
  }
  .project-card-thumb {
    margin: -1.4rem -1.4rem 1.2rem -1.4rem;
  }
  .agent-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem);
    line-height: 1.18;
    max-width: 100%;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-mini {
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
  }
  .hero-mini li span {
    font-size: 1.4rem;
  }
  .stat .n {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(210px, 60vw, 280px);
    gap: 8px;
  }
  .g-wide, .g-tall, .g-med, .g-std, .g-item, .g-item:nth-child(5) {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }
  .locale {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .locale .img-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 0.8rem;
  }
  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .form-foot .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* -------------------------------------------------- ON-SITE FOOTAGE & VIDEOS */
.footage {
  background: var(--ink);
  color: var(--chalk);
  position: relative;
  overflow: hidden;
}
.footage .sec-num.on-dark {
  color: var(--stone);
  opacity: 0.55;
}
.footage .eyebrow.on-dark {
  color: var(--brass);
}
.footage .section-title.on-dark {
  color: var(--chalk);
}
.footage-intro {
  margin-bottom: 2.8rem;
}
.footage-intro .lead {
  color: rgba(244, 244, 239, 0.88);
  max-width: 68ch;
  margin-bottom: 2rem;
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  line-height: 1.72;
}

/* Footage region filter pills */
.footage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.footage-filter {
  background: rgba(244, 244, 239, 0.07);
  border: 1px solid rgba(244, 244, 239, 0.18);
  color: var(--chalk);
  padding: 0.55rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.3s var(--ease);
}
.footage-filter:hover {
  background: rgba(244, 244, 239, 0.16);
  border-color: var(--chalk);
}
.footage-filter.is-active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
  font-weight: 600;
}
.footage-filter .f-count {
  font-size: 0.68rem;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.25);
  color: var(--chalk);
  padding: 2px 7px;
  border-radius: 12px;
}
.footage-filter.is-active .f-count {
  background: rgba(28, 34, 31, 0.25);
  color: var(--ink);
}

/* Video wrapper & player container */
.video-wrapper {
  position: relative;
  width: 100%;
  background: #0a0d0b;
  overflow: hidden;
  border-radius: 2px;
}
.video-wrapper.aspect-16-9 {
  aspect-ratio: 16 / 9;
}
.video-wrapper.aspect-9-16 {
  aspect-ratio: 9 / 16;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a0d0b;
}

/* Video overlay & badges */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 20, 17, 0.72) 0%, rgba(16, 20, 17, 0.12) 40%, rgba(16, 20, 17, 0.42) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.video-wrapper.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}
.v-badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.v-badge.live-tag {
  align-self: flex-start;
  background: rgba(154, 123, 68, 0.92);
  color: var(--ink);
}
.v-badge.duration-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16, 20, 17, 0.8);
  border: 1px solid rgba(244, 244, 239, 0.22);
  color: var(--chalk);
}
.v-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(244, 244, 239, 0.94);
  color: var(--ink);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s var(--ease), background 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.v-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.v-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--brass);
  color: var(--ink);
}

/* Featured 16:9 Card */
.footage-featured {
  margin-bottom: 3.5rem;
}
.feat-card {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(1.8rem, 3.5vw, 3.5rem);
  background: rgba(38, 45, 40, 0.58);
  border: 1px solid rgba(244, 244, 239, 0.12);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.footage-card-info .f-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.f-loc {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  display: block;
}
.f-stat {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.08em;
}
.f-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--chalk);
  line-height: 1.25;
  margin: 0 0 0.9rem;
}
.f-desc {
  font-size: 0.92rem;
  color: rgba(244, 244, 239, 0.78);
  line-height: 1.68;
  margin-bottom: 1.5rem;
}
.f-actions {
  display: flex;
  gap: 1rem;
}

/* Reels Grid (Portrait 9:16) */
.footage-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.reel-card {
  background: rgba(38, 45, 40, 0.48);
  border: 1px solid rgba(244, 244, 239, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.reel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 169, 104, 0.45);
}
.reel-card-info {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.reel-card-info .f-loc {
  margin-bottom: 0.4rem;
}
.reel-card-info .f-title {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.reel-card-info .f-desc {
  font-size: 0.82rem;
  color: rgba(244, 244, 239, 0.75);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}
.btn-text {
  background: none;
  border: none;
  color: var(--brass);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  transition: color 0.2s, transform 0.2s;
}
.btn-text:hover {
  color: var(--chalk);
  transform: translateX(3px);
}

/* Hidden state for region filtering */
.footage-card.is-hidden,
.footage-featured.is-hidden {
  display: none !important;
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 1080px) {
  .feat-card {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .footage-reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .footage-intro .lead {
    font-size: 0.95rem;
  }
  .footage-filters {
    gap: 0.5rem;
  }
  .footage-filter {
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
  }
  .footage-featured {
    margin-bottom: 2.2rem;
  }
  .feat-card {
    padding: 1rem;
  }
  .footage-reels-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .reel-card {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
    padding: 0.9rem;
  }
  .video-wrapper.aspect-9-16 {
    max-height: 520px;
  }
  .v-play-btn {
    width: 48px;
    height: 48px;
  }
  .v-play-btn svg {
    width: 18px;
    height: 18px;
  }
}

