/* ============================================================
   Smith & Associates Architects — shared design system
   Used by every page. Edit once, applies everywhere.
   ============================================================ */

:root {
  /* White / black / Smith & Associates Green (RAL 6013, Pantone 7762, #626344) — per Bag of Bees brand guide */
  --bg: #ffffff;
  --bg2: #f6f6f3;
  --bg3: #ececE5;
  --gold: #626344;
  --gold2: #4a4b32;
  --green: #626344;
  --green2: #4a4b32;
  --text: #1c1c17;
  --text-muted: #5c5d4e;
  --text-dim: #8b8c7a;
  --border: rgba(98,99,68,0.25);
  --border-dim: rgba(0,0,0,0.08);
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(98,99,68,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s, width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor, button:hover ~ .cursor { width: 12px; height: 12px; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.4;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
}
nav.scrolled {
  padding: 1rem 4rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
nav.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
nav.nav-transparent.nav-hero-reveal .nav-logo,
nav.nav-transparent.nav-hero-reveal .nav-links,
nav.nav-transparent.nav-hero-reveal .hamburger {
  opacity: 0;
}
nav.nav-transparent .nav-logo img { filter: brightness(0) invert(1); transition: filter 0.4s; }
nav.nav-transparent .nav-links a { color: #fff; }
nav.nav-transparent .nav-links a::after { background: #fff; }
nav.nav-transparent .nav-cta { border-color: #fff; color: #fff !important; }
nav.nav-transparent .hamburger span { background: #fff; }
nav.nav-transparent.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
}
nav.nav-transparent.scrolled .nav-logo img { filter: none; }
nav.nav-transparent.scrolled .nav-links a { color: var(--text); }
nav.nav-transparent.scrolled .nav-links a::after { background: var(--gold); }
nav.nav-transparent.scrolled .nav-cta { border-color: var(--gold); color: var(--gold) !important; }
nav.nav-transparent.scrolled .hamburger span { background: var(--text); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.logo-mark {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}
.nav-logo:hover .logo-mark {
  background: var(--gold);
  color: var(--bg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s !important;
  font-family: var(--font-body);
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO (home page — full-bleed drone footage, pinned scroll reveal) ===== */
#hero {
  position: relative;
  height: 220vh;
  background: #000;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.hero-logo-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-logo-reveal img {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(320px, 36vw);
  height: auto;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.85) 100%);
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-cue i { animation: bounceDown 1.8s ease-in-out infinite; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  padding-top: 6rem;
  width: 100%;
  opacity: 0;
  will-change: opacity, transform;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-eyebrow span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b5b78a;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: #b5b78a;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 2.5rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; }
.hero-title .italic { font-style: italic; color: #b5b78a; }
.hero-sub {
  max-width: 480px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.btn-primary {
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-ghost {
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  display: inline-block;
}
.btn-ghost:hover { border-color: #ffffff; background: rgba(255,255,255,0.12); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* ===== PAGE HERO (interior pages — Projects / About / Contact / Hub) ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-dim);
}
.page-hero.has-bg {
  position: relative;
  padding: 14rem 0 6rem;
  background-size: cover;
  background-position: center;
  border-bottom: none;
}
.page-hero.has-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.68) 100%);
}
.page-hero.has-bg .container { position: relative; z-index: 1; }
.page-hero.has-bg .breadcrumb,
.page-hero.has-bg .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero.has-bg .breadcrumb a:hover { color: #fff; }
.page-hero.has-bg h1 { color: #fff; }
.page-hero.has-bg p { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1.25rem;
}

/* ===== SECTIONS / SHARED ===== */
section { position: relative; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 4rem; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { max-width: 360px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; padding-bottom: 0.5rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== TILE GRID (Projects categories / About Us / Recognition) ===== */
#tiles { padding: 3rem 0 8rem; background: var(--bg); }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
}
.tile-grid.tile-grid-2col { grid-template-columns: repeat(2, 1fr); }
.tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg3);
  text-decoration: none;
  display: block;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(98,99,68,0.88) 0%, rgba(98,99,68,0.15) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tile:hover .tile-overlay { opacity: 1; }
.tile-label {
  position: absolute;
  left: 2rem; bottom: 2rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tile-sub {
  position: absolute;
  left: 2rem; top: 2rem;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.4s;
}
.tile:hover .tile-sub { opacity: 1; }
.tile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
}
.tile-logo img { width: auto; height: 40%; object-fit: contain; filter: none; }
.tile-logo:hover img { transform: scale(1.08); }

@media (min-width: 700px) {
  .tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== PORTFOLIO INDEX (Projects landing — category rows with project slices) ===== */
#portfolio-index { padding: 2rem 0 9rem; background: var(--bg); }
.cat-tile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2.5rem;
  row-gap: 3.5rem;
}
.cat-tile {
  display: block;
  flex: 0 0 calc((100% - 5rem) / 3);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}
.cat-tile-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg3);
  margin-bottom: 1.25rem;
}
.cat-tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.cat-tile:hover .cat-tile-media img { transform: scale(1.05); }
.cat-tile-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.cat-tile:hover .cat-tile-name { color: var(--gold); }
.cat-tile-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.cat-tile:hover .cat-tile-link { color: var(--gold); }

@media (max-width: 900px) {
  .cat-tile-grid { row-gap: 2.75rem; }
  .cat-tile { flex-basis: calc((100% - 2.5rem) / 2); }
}

@media (max-width: 600px) {
  .cat-tile-grid { row-gap: 2.5rem; column-gap: 0; }
  .cat-tile { flex-basis: 100%; }
}

/* ===== FEATURED WORK (home page — full-bleed slices, echoes hero panel layout) ===== */
/* Pin-wrap: gives a sticky child real "stuck" duration. Child height must be < wrapper height, or the sticky range collapses to zero and it just scrolls normally. */
.pin-wrap { position: relative; height: 115vh; }
.pin-wrap > section {
  position: sticky !important;
  top: 0;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

/* Pin-wrap variant for content-driven sections (forms etc.) whose height varies —
   no fixed height/overflow clamp, so nothing gets clipped. The ::after spacer is what
   gives the sticky child its "stuck" duration instead of a height mismatch. */
.pin-wrap-auto { position: relative; }
.pin-wrap-auto > section {
  position: sticky !important;
  top: 0;
}
.pin-wrap-auto::after { content: ''; display: block; height: 22vh; }

#featured-work {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  padding: 5rem 0 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#featured-work .section-header { margin-bottom: 2rem; }
.slice-row {
  display: flex;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.slice {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: block;
  color: #fff;
  text-decoration: none;
}
.slice img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.8s var(--ease), filter 0.3s;
}
.slice:hover img { transform: scale(1.06); filter: brightness(0.55); }
.slice-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}
.slice-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.slice-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; }
.slice-status { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

.slice-cta { text-align: center; }
.cta-collage { position: absolute; inset: 0; display: flex; }
.cta-collage img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.9);
  transition: transform 0.8s var(--ease);
}
.slice-cta:hover .cta-collage img { transform: scale(1.06); }
.cta-overlay {
  position: absolute; inset: 0;
  background: rgba(98,99,68,0.65);
  transition: background 0.3s;
}
.slice-cta:hover .cta-overlay { background: rgba(74,75,50,0.75); }
.slice-cta .slice-label { top: 0; height: 100%; justify-content: center; }
.slice-cta .slice-label i { font-size: 1.4rem; margin-bottom: 0.5rem; }

/* ===== PROJECT LIST (named projects within a category) ===== */
#project-list { padding: 0 0 4rem; background: var(--bg); }
.project-rows { display: flex; flex-direction: column; }
.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  height: 47vh;
  min-height: 340px;
  max-height: 560px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-dim);
  cursor: pointer;
}
.project-card:first-child { border-top: 1px solid var(--border-dim); }
.project-card:nth-child(even) .project-info { order: 2; }
.project-card:nth-child(even) .project-media { order: 1; }

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg2);
  padding: 3rem 4rem;
  box-sizing: border-box;
}
.project-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.project-status {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.project-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-link i { font-size: 0.7rem; transition: transform 0.35s var(--ease); }
.project-card:hover .project-link i { transform: translateX(4px); }

.project-media {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--bg3);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.project-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: #fff;
}
.project-view-cue {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.project-card:hover .project-view-cue { opacity: 1; transform: translateY(0); }
.project-placeholder-tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.92);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border-dim);
  z-index: 2;
}

@media (max-width: 900px) {
  .project-card, .project-card:nth-child(even) {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 0;
  }
  .project-card .project-media, .project-card:nth-child(even) .project-media { order: 1; height: auto; aspect-ratio: 4/3; }
  .project-card .project-info, .project-card:nth-child(even) .project-info { order: 2; max-width: 100%; padding: 2rem 1.5rem 2.5rem; }
}

/* ===== PROJECT LIGHTBOX (category pages — click a project, full gallery) ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1100;
  background: #0a0a0a;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-body { position: absolute; inset: 0; display: flex; flex-direction: column; }

.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-stage-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(0.4) saturate(1.1);
  transform: scale(1.1);
}
.lightbox-image {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 88%;
  object-fit: contain;
  display: block;
  cursor: default;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lightbox-image.loaded { opacity: 1; }
.lightbox-close {
  position: absolute; top: 1.75rem; right: 1.75rem; z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 1.75rem; }
.lightbox-next { right: 1.75rem; }

.lightbox-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.75rem 3rem;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.lightbox-info-main { min-width: 0; }
.lightbox-counter {
  display: block;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.6rem;
}
.lightbox-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #fff; line-height: 1.1; margin-bottom: 0.4rem;
}
.lightbox-status {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold);
}
.lightbox-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem; line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.lightbox-thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: 0.6rem;
  padding: 0 3rem 1.5rem;
  overflow-x: auto;
  background: #0a0a0a;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  flex: 0 0 84px;
  width: 84px; height: 60px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  opacity: 0.45;
  transition: opacity 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 0 2px transparent;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: 0.75; }
.lightbox-thumb.active { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .lightbox-body { justify-content: center; }
  .lightbox-close { top: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
  .lightbox-stage { flex: 0 1 auto; }
  .lightbox-stage-bg { display: none; }
  .lightbox-image { max-width: 94%; max-height: 52vh; }
  .lightbox-info { flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; }
  .lightbox-desc { display: none; }
  .lightbox-thumbs { padding: 0 1.5rem 1.25rem; }
  .lightbox-thumb { flex-basis: 64px; width: 64px; height: 46px; }
}

/* ===== ABOUT (practice intro, used on About Us page) ===== */
#about { padding: 8rem 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
}
.about-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 2rem;
}
.about-title em { font-style: italic; color: var(--gold); }
.about-body { color: var(--text-muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.5rem; }
.about-riai {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem; border: 1px solid var(--border); margin-top: 1rem;
}
.about-riai span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border-dim); border: 1px solid var(--border-dim); margin-top: 3rem;
}
.about-stat { background: var(--bg); padding: 2rem; }
.about-stat .num { font-family: var(--font-display); font-size: 3rem; font-weight: 300; color: var(--gold); line-height: 1; display: block; }
.about-stat .label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); display: block; margin-top: 0.5rem; }
.about-image-wrap { position: relative; }
.about-image-wrap::before {
  content: ''; position: absolute; top: -2rem; right: -2rem;
  width: calc(100% - 2rem); height: calc(100% - 2rem);
  border: 1px solid var(--border); z-index: 0;
}
.about-image-wrap img {
  width: 100%; height: 600px; object-fit: cover; display: block;
  position: relative; z-index: 1;
}

/* ===== TEAM ===== */
#team-photo { background: var(--bg); }
.team-photo-wrap { width: 100%; height: 46vh; min-height: 320px; overflow: hidden; }
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
#team-grid { padding: 5rem 0 8rem; background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.team-member { text-align: left; }
.team-headshot {
  aspect-ratio: 1/1;
  background: var(--bg3);
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.team-headshot img { width: 100%; height: 100%; object-fit: cover; }
.team-headshot .placeholder-icon { font-size: 2.5rem; color: var(--text-dim); }
.team-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); margin-bottom: 0.2rem; }
.team-role { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.team-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== AWARDS / PUBLICATIONS ===== */
#recognition-content { padding: 3rem 0 8rem; background: var(--bg); }
.recognition-list { display: flex; flex-direction: column; gap: 1px; background: var(--border-dim); border: 1px solid var(--border-dim); }
.recognition-item { background: var(--bg); padding: 2rem 2.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; transition: background 0.3s; }
.recognition-item:hover { background: var(--bg2); }
.recognition-item .r-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); }
.recognition-item .r-meta { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.placeholder-note {
  border: 1px dashed var(--border);
  padding: 2rem 2.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.8;
}
.placeholder-note strong { color: var(--gold); font-weight: 500; }

.awards-summary { max-width: 680px; margin-bottom: 3.5rem; }
.awards-summary p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.85; }
.awards-summary p + p { margin-top: 1rem; }

.award-year-block { margin-bottom: 3rem; }
.award-year-block:last-child { margin-bottom: 0; }
.award-year-heading { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 1.5rem; }
.award-year-heading .year-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); white-space: nowrap; }
.award-year-heading .year-line { flex: 1; height: 1px; background: var(--border-dim); }

.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.award-card {
  border: 1px solid var(--border-dim);
  background: var(--bg2);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.award-card img { display: block; width: 100%; height: auto; }
.award-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.1); }

.night-heading { margin: 4.5rem 0 1.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; color: var(--text); }
.night-gallery { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.5rem; }
.night-photo { border: 1px solid var(--border-dim); overflow: hidden; }
.night-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.night-caption { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.65rem; }

/* ===== HUB IN THE HALL ===== */
#hub { padding: 6rem 0; background: var(--bg); }
.hub-intro { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.hub-intro .section-label { justify-content: center; }
.hub-intro .section-label::before { display: none; }
.hub-intro .section-desc { max-width: 560px; margin: 0 auto; }
.hub-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
  margin-bottom: 4rem;
}
.hub-feature {
  background: var(--bg2);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.hub-feature i { font-size: 1.3rem; color: var(--gold); }
.hub-feature span { font-size: 0.78rem; letter-spacing: 0.05em; color: var(--text-muted); }
.hub-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.hub-logo-box {
  width: 160px; height: 160px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg2);
}
.hub-logo-box img { width: 70%; height: auto; object-fit: contain; }
.hub-contact-details { display: flex; flex-direction: column; gap: 0.6rem; }
.hub-contact-details .h-name { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin-bottom: 0.5rem; }
.hub-contact-details a, .hub-contact-details span { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; }
.hub-contact-details a:hover { color: var(--gold); }

#hub-booking { padding: 0 0 6rem; background: var(--bg); }
#hub-contact { padding: 0 0 8rem; background: var(--bg); }

/* ===== 3D WALKTHROUGHS ===== */
#walkthrough-intro { padding: 6rem 0 2rem; background: var(--bg); }
#walkthrough-cta { padding: 6rem 0 8rem; background: var(--bg2); }
.cta-banner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; margin: 0 auto; }
.cta-banner-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.5rem; }
.cta-banner .section-title { margin-bottom: 1rem; }
.cta-banner-desc { max-width: 100%; margin-bottom: 2.5rem; color: var(--text-muted); }

/* ===== CONTACT (details / enquiry form / map / social) ===== */
#contact-page { padding: 0; background: var(--bg2); }
.contact-top {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border-dim);
}
.contact-col { background: var(--bg2); padding: 3rem 2.5rem; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.contact-col:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.contact-col-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  transition: background 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.contact-col:hover .contact-col-icon { background: var(--gold); border-color: var(--gold); color: #fff; }
.contact-col-title {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem;
}
.contact-col-title::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.contact-col-note { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.75rem; }
.contact-info-item { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.5rem; }
.contact-info-item span:first-child { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.contact-info-item a, .contact-info-item span:last-child { color: var(--text); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.contact-info-item a:hover { color: var(--gold); }
.contact-inline-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.3s;
}
.contact-inline-link i { font-size: 0.68rem; transition: transform 0.3s var(--ease); }
.contact-inline-link:hover { color: var(--text); }
.contact-inline-link:hover i { transform: translateX(3px); }
.social-links { display: flex; flex-direction: row; gap: 0.75rem; }
.social-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.social-circle:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.contact-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-hero-left { padding-top: 1rem; }
.contact-hero-right .consult-form { background: transparent; border: none; padding: 0; }
.contact-hero-right .form-title { color: #fff; }
.contact-hero-right .form-group label { color: rgba(255,255,255,0.75); }
.contact-hero-right .form-note { color: rgba(255,255,255,0.75); }
.contact-hero-right .form-note i { color: rgba(255,255,255,0.6); }
.contact-hero-right .form-divider { color: rgba(255,255,255,0.6); }
.contact-hero-right .form-divider::before, .contact-hero-right .form-divider::after { background: rgba(255,255,255,0.3); }
.contact-hero-right .gcal-btn { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
.contact-hero-right .gcal-btn:hover { border-color: #4285F4; color: #fff; }
.map-wrapper { height: 420px; background: var(--bg3); position: relative; overflow: hidden; }
.map-wrapper iframe {
  width: 100%; height: 100%; border: none;
  filter: grayscale(35%);
  opacity: 0.85; transition: opacity 0.3s, filter 0.3s;
}
.map-wrapper:hover iframe { filter: grayscale(0%); opacity: 1; }

/* ===== GOOGLE REVIEWS (home page) ===== */
#reviews {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  min-height: 700px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}
#reviews .container { width: 100%; position: relative; z-index: 2; }
.reviews-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.reviews-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%); }
.reviews-widget { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; margin: 0 auto; }
.reviews-widget-icon { font-size: 2.5rem; color: #fff; margin-bottom: 1.5rem; }
.reviews-widget .section-title { margin-bottom: 1rem; color: #fff; }
.reviews-widget-desc { max-width: 100%; margin-bottom: 2.5rem; color: rgba(255,255,255,0.82) !important; }
.reviews-widget .btn-primary i { margin-right: 0.5rem; }

/* ===== CONSULTATION / LEAD FORM (kept on Home page) ===== */
#consultation { padding: 8rem 0; background: var(--bg); position: relative; overflow: hidden; }
#consultation::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(98,99,68,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.consult-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.consult-title { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 300; line-height: 1.1; color: var(--text); margin-bottom: 1.5rem; }
.consult-title em { font-style: italic; color: var(--gold); }
.consult-sub { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2.5rem; }
.consult-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.consult-features li { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.consult-features li::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

.consult-form { background: var(--bg2); border: 1px solid var(--border-dim); padding: 3rem; }
.form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg3); border: 1px solid var(--border-dim); color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 300; padding: 0.85rem 1rem;
  outline: none; transition: border-color 0.3s; appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group.full { grid-column: 1 / -1; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: ''; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted); pointer-events: none;
}
.form-submit {
  width: 100%; padding: 1.1rem; background: var(--gold); color: var(--bg); border: none;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer; transition: background 0.3s, transform 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold2); }
.form-submit:active { transform: scale(0.99); }
.form-note { text-align: center; font-size: 0.72rem; color: var(--text-dim); margin-top: 1rem; letter-spacing: 0.05em; }
.form-note i { margin-right: 0.3rem; color: var(--gold); opacity: 0.7; }
.form-success { display: none; text-align: center; padding: 4rem 2rem; }
.form-success.show { display: block; }
.form-success-icon {
  width: 60px; height: 60px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--gold); font-size: 1.5rem;
}
.form-success h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--text); margin-bottom: 1rem; }
.form-success p { color: var(--text-muted); font-size: 0.9rem; }
.field-error { font-size: 0.68rem; color: #c96e6e; margin-top: 0.4rem; display: none; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #c96e6e; }
.form-group.has-error .field-error { display: block; }
.form-divider { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; color: var(--text-dim); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-dim); }
.gcal-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%;
  padding: 0.85rem; margin-top: 0.75rem; background: transparent; border: 1px solid var(--border-dim);
  color: var(--text-muted); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em;
  cursor: pointer; transition: border-color 0.3s, color 0.3s; text-decoration: none;
}
.gcal-btn:hover { border-color: #4285F4; color: var(--text); }
.gcal-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== INSTAGRAM STRIP ===== */
#instagram { padding: 6rem 0; background: var(--bg2); }
.insta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5px; background: var(--border-dim); border: 1px solid var(--border-dim); }
.insta-tile { aspect-ratio: 1/1; overflow: hidden; background: var(--bg3); position: relative; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) brightness(0.7); transition: transform 0.6s var(--ease), filter 0.4s; }
.insta-tile:hover img { transform: scale(1.08); filter: grayscale(0%) brightness(0.85); }
.insta-tile i { position: absolute; top: 0.75rem; right: 0.75rem; color: rgba(255,255,255,0.85); font-size: 1rem; }
.insta-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ===== FOOTER ===== */
footer { background: var(--bg); border-top: 1px solid var(--border-dim); padding: 3rem 4rem; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.footer-nav { display: flex; gap: 2rem; list-style: none; }
.footer-nav a { text-decoration: none; color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.footer-riai { display: flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 0.4rem 0.8rem; }
.footer-copy { font-size: 0.68rem; color: var(--text-dim); }

/* ===== WHATSAPP BUTTON ===== */
.wa-btn {
  position: fixed; bottom: 5.5rem; right: 1.5rem; width: 52px; height: 52px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 990; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s; text-decoration: none;
}
.wa-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.96); border: 1px solid var(--border-dim); color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-size: 0.72rem; letter-spacing: 0.05em; white-space: nowrap; padding: 0.5rem 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s; backdrop-filter: blur(10px);
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ===== CHAT WIDGET (Archie) ===== */
.chat-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px;
  background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 990; box-shadow: 0 4px 20px rgba(98,99,68,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s; cursor: pointer; border: none;
}
.chat-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(98,99,68,0.5); }
.chat-btn svg { width: 24px; height: 24px; fill: var(--bg); transition: opacity 0.2s; }
.chat-btn .icon-close { display: none; }
.chat-btn.open .icon-chat { display: none; }
.chat-btn.open .icon-close { display: block; }
.chat-window {
  position: fixed; bottom: 5.5rem; right: 1.5rem; width: 340px; max-height: 520px;
  background: var(--bg2); border: 1px solid var(--border-dim); z-index: 989;
  display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: scale(0.9) translateY(20px); transform-origin: bottom right; opacity: 0;
  pointer-events: none; transition: transform 0.35s var(--ease), opacity 0.3s;
}
.chat-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-header { padding: 1rem 1.25rem; background: var(--bg3); border-bottom: 1px solid var(--border-dim); display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.chat-avatar { width: 36px; height: 36px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-avatar svg { width: 18px; height: 18px; fill: var(--bg); }
.chat-header-info { flex: 1; }
.chat-header-name { font-size: 0.85rem; font-weight: 500; color: var(--text); display: block; }
.chat-header-status { font-size: 0.68rem; color: #25D366; display: flex; align-items: center; gap: 0.35rem; margin-top: 0.1rem; }
.chat-header-status::before { content: ''; width: 6px; height: 6px; background: #25D366; border-radius: 50%; display: block; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; scroll-behavior: smooth; }
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--text-dim); }
.chat-msg { max-width: 85%; padding: 0.65rem 0.9rem; font-size: 0.82rem; line-height: 1.55; animation: msgIn 0.3s var(--ease) forwards; white-space: pre-line; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { background: var(--bg3); border: 1px solid var(--border-dim); color: var(--text); align-self: flex-start; border-radius: 0 8px 8px 8px; }
.chat-msg.user { background: var(--gold); color: var(--bg); align-self: flex-end; border-radius: 8px 0 8px 8px; font-weight: 500; }
.chat-typing { display: flex; gap: 4px; padding: 0.65rem 0.9rem; background: var(--bg3); border: 1px solid var(--border-dim); align-self: flex-start; border-radius: 0 8px 8px 8px; opacity: 0; transition: opacity 0.2s; }
.chat-typing.show { opacity: 1; }
.chat-typing span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typingDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.25rem 0.75rem; flex-shrink: 0; }
.chat-chip { padding: 0.4rem 0.85rem; border: 1px solid var(--border); background: transparent; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s, color 0.2s; font-family: var(--font-body); border-radius: 20px; white-space: nowrap; }
.chat-chip:hover { background: var(--gold); color: var(--bg); }
.chat-input-row { display: flex; border-top: 1px solid var(--border-dim); flex-shrink: 0; }
.chat-input { flex: 1; background: transparent; border: none; color: var(--text); font-family: var(--font-body); font-size: 0.82rem; padding: 0.85rem 1rem; outline: none; }
.chat-input::placeholder { color: var(--text-dim); }
.chat-send { padding: 0 1rem; background: transparent; border: none; border-left: 1px solid var(--border-dim); color: var(--gold); cursor: pointer; font-size: 1rem; transition: background 0.2s; }
.chat-send:hover { background: rgba(98,99,68,0.1); }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  nav { padding: 1.5rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  .container { padding: 0 2rem; }
  footer { padding: 2.5rem 2rem; }
  .hero-content { padding: 0 2rem; padding-top: 6rem; }
  .about-grid { gap: 3rem; }
  .consult-layout { gap: 3rem; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .slice-row { height: 60vh; min-height: 420px; }
}

@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #project-list, #tiles, #about, #consultation, #reviews, #recognition-content, #team-grid, #hub, #instagram { padding: 5rem 0; }
  .page-hero { padding: 8rem 0 3rem; }
  #contact-page { padding: 2rem 0 0; }
  .container { padding: 0 1.5rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
  .section-desc { max-width: 100%; }
  .section-title { font-size: clamp(2.2rem, 6vw, 3.5rem); }

  .tile-grid { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: 1fr; }
  .night-gallery { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .project-caption { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .project-status { text-align: left; }
  .team-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-wrap { order: -1; }
  .about-image-wrap::before { display: none; }
  .about-image-wrap img { height: 320px; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }

  .consult-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .contact-top { grid-template-columns: 1fr; }
  .map-wrapper { height: 300px; }
  .hub-info { grid-template-columns: 1fr; text-align: center; }
  .hub-features { grid-template-columns: repeat(2, 1fr); }
  .hub-logo-box { margin: 0 auto; }

  .slice-row {
    height: 70vh;
    min-height: 460px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .slice-row::-webkit-scrollbar { display: none; }
  .slice, .slice-cta { flex: 0 0 82%; scroll-snap-align: start; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-nav { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  nav.scrolled { padding: 0.8rem 1.25rem; }
  .hero-content { padding: 0 1.25rem; padding-top: 5rem; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero-eyebrow { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .btn-primary, .btn-ghost { text-align: center; padding: 1rem; }

  #project-list, #tiles, #about, #consultation, #recognition-content, #team-grid, #hub, #instagram { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  .about-image-wrap img { height: 260px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stat .num { font-size: 2.2rem; }

  .consult-form { padding: 1.75rem 1.25rem; }
  .consult-features li { font-size: 0.8rem; }

  .contact-col { padding: 2rem 1.25rem; }
  .map-wrapper { height: 240px; }

  footer { padding: 2rem 1.25rem; }
  .footer-nav { gap: 0.75rem 1.25rem; }

  .chat-window { width: calc(100vw - 2rem); right: 1rem; }
  .wa-btn { bottom: 5rem; right: 1rem; }
  .chat-btn { bottom: 1rem; right: 1rem; }
}
