/* ============================================
   NEXUS DIGITAL — Global Styles
   Premium Real Estate Palette
============================================ */

:root {
  --ink:        #0D0D0D;
  --ink-soft:   #1A1A1A;
  --ink-mid:    #2C2C2C;
  --surface:    #F7F5F0;
  --surface-2:  #EEEBe4;
  --white:      #FFFFFF;
  --gold:       #B8945A;
  --gold-light: #D4AF7A;
  --gold-pale:  #F0E6D3;
  --text:       #3A3530;
  --text-muted: #7A746C;
  --border:     rgba(184,148,90,0.15);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);

  --max-w: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--surface); color: var(--text); font-family: var(--font-body); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* CONTAINER */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* TYPOGRAPHY HELPERS */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}
.section-header h2 em { font-style: italic; color: var(--gold); }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), transform 0.2s;
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
.btn-large { padding: 1.1rem 2.8rem; font-size: 0.85rem; }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(247,245,240,0.96);
  backdrop-filter: blur(12px);
  padding: 1rem var(--gutter);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.4s;
}
.nav.scrolled .nav-logo { color: var(--ink); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.nav-links li a:hover { color: var(--gold-light); }
.nav.scrolled .nav-links li a { color: var(--text-muted); }
.nav.scrolled .nav-links li a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--ink);
  align-items: center; justify-content: center;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { text-align: center; }
.mobile-menu ul li { margin: 1.5rem 0; }
.mobile-menu ul li a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s;
}
.mobile-menu ul li a:hover { color: var(--gold-light); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1506 50%, #0D0D0D 100%);
}
.hero-grain {
  position: absolute; 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.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,148,90,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,148,90,0.08) 0%, transparent 70%);
  bottom: 0; left: 10%;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }

.hero-content {
  position: relative; z-index: 2;
  padding: 8rem var(--gutter) 4rem;
  max-width: 780px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-eyebrow { color: var(--gold); }

.hero-scroll-hint {
  position: absolute; left: var(--gutter); bottom: 2.5rem;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 50px; height: 1px;
  background: var(--gold);
  animation: lineGrow 2s ease-in-out infinite;
}
@keyframes lineGrow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.5); } }

.hero-stat-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0; border-top: 1px solid rgba(184,148,90,0.15);
  background: rgba(13,13,13,0.6); backdrop-filter: blur(10px);
  padding: 1.5rem var(--gutter);
  z-index: 2;
}
.stat { text-align: center; padding: 0 2rem; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--gold-light); line-height: 1; }
.stat-label { display: block; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.35rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(184,148,90,0.2); }

/* ============================================
   MARQUEE
============================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--ink-mid);
  border-top: 1px solid rgba(184,148,90,0.12);
  border-bottom: 1px solid rgba(184,148,90,0.12);
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.marquee-track span {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500;
}
.marquee-track .dot { color: var(--gold); font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   SERVICES
============================================ */
.services { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  transition: background 0.3s;
}
.service-card:hover { background: var(--gold-pale); }
.service-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 300;
  color: var(--gold); opacity: 0.5;
  line-height: 1; margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================
   INDUSTRIES
============================================ */
.industries { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ink); }
.industries .section-header h2 { color: var(--white); }
.industries .eyebrow { color: var(--gold); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(184,148,90,0.1);
  max-width: 100%;
  padding: 0 var(--gutter);
}
.industry-card {
  display: flex; flex-direction: column;
  background: #111;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.industry-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.industry-card:hover { background: #181510; transform: translateY(-4px); }
.industry-card:hover::before { transform: scaleX(1); }
.industry-img { margin-bottom: 1.5rem; }
.ind-icon svg { width: 48px; height: 48px; color: var(--gold); opacity: 0.8; transition: opacity 0.3s; }
.industry-card:hover .ind-icon svg { opacity: 1; }
.industry-bg-shape {
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,90,0.06) 0%, transparent 70%);
  transition: transform 0.6s;
}
.industry-card:hover .industry-bg-shape { transform: scale(2); }
.industry-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.75rem;
}
.industry-info p { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 1.5rem; }
.industry-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-top: auto;
  transition: gap 0.3s;
}
.industry-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.industry-card:hover .industry-link { gap: 0.75rem; }
.industry-card:hover .industry-link svg { transform: translateX(3px); }

/* ============================================
   PORTFOLIO
============================================ */
.portfolio { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--surface-2); }
.portfolio-grid { display: flex; flex-direction: row; width: 100vw; overflow: scroll;}
.portfolio-item { position: relative; overflow: hidden; border-radius: 2px; }
.portfolio-item.large { grid-column: span 2; }
.portfolio-img {
  width: 100%; aspect-ratio: 4/3;
  position: relative;
  background: var(--ink-mid);
  overflow: hidden;
}
.portfolio-item.large .portfolio-img { aspect-ratio: 16/9; }
.pi-1 { background: linear-gradient(135deg, #1a1206 0%, #3d2b0d 100%); }
.pi-2 { background: linear-gradient(135deg, #0d1a12 0%, #0d2d1a 100%); }
.pi-3 { background: linear-gradient(135deg, #0d1221 0%, #0d2040 100%); }
.pi-4 { background: linear-gradient(135deg, #1a0d21 0%, #2d0d3d 100%); }
.pi-5 { background: linear-gradient(135deg, #211206 0%, #3d220d 100%); }
.pi-1::after { content: ''; position: absolute; inset: 0; }
.pi-2::after { content: ''; position: absolute; inset: 0; }
.pi-3::after { content: ''; position: absolute; inset: 0; }
.pi-4::after { content: ''; position: absolute; inset: 0; }
.pi-5::after { content: ''; position: absolute; inset: 0; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 10rem 3rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; }
.portfolio-overlay h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--white); margin-bottom: 0.5rem; }
.portfolio-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* ============================================
   PROCESS
============================================ */
.process { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-step {
  padding: 2.5rem;
  position: relative;
  border-right: 1px solid var(--border);
}
.process-step:last-child { border-right: none; }
.step-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s;
}
.process-step:hover .step-circle { background: var(--gold); color: var(--white); }
.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--ink); margin-bottom: 0.75rem;
}
.step-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================
   ABOUT
============================================ */
.about { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--surface); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.about-visual { position: relative; }
.about-img-frame { position: relative; }
.about-img-inner {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a1206, #2d1f0a, #3d2d10);
  position: relative; overflow: hidden;
}
.about-img-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='80' r='40' fill='none' stroke='rgba(184,148,90,0.12)' stroke-width='1'/%3E%3Crect x='60' y='130' width='80' height='60' fill='none' stroke='rgba(184,148,90,0.1)' stroke-width='1'/%3E%3Cpath d='M30 130 L100 60 L170 130' fill='none' stroke='rgba(184,148,90,0.08)' stroke-width='1'/%3E%3C/svg%3E") center/80% no-repeat;
}
.about-img-accent {
  position: absolute; right: -20px; bottom: -20px;
  width: 60%; height: 60%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
}
.about-badge {
  position: absolute; top: 2rem; right: -2rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 300; line-height: 1; }
.badge-text { display: block; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 0.3rem; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--ink); margin-bottom: 1.5rem;
}
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-lead { font-size: 1.05rem; color: var(--ink); margin-bottom: 1.25rem; line-height: 1.8; }
.about-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 2rem; }
.about-pillars { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pillar { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--white); border: 1px solid var(--border); }
.pillar-icon svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
.pillar strong { display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 0.1rem; }
.pillar p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ink); }
.testimonials .section-header h2 { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,148,90,0.15);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}
.testimonial-card:hover { border-color: rgba(184,148,90,0.4); background: rgba(255,255,255,0.06); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--gold); opacity: 0.3;
  position: absolute; top: 1rem; right: 1.5rem;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.7; margin-bottom: 2rem;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-pale); border: 1px solid var(--gold); opacity: 0.6; }
.testimonial-author strong { display: block; font-size: 0.85rem; color: var(--white); font-weight: 500; }
.testimonial-author span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ============================================
   CTA BAND
============================================ */
.cta-band { padding: clamp(6rem, 12vw, 10rem) 0; background: linear-gradient(135deg, #1a1206, #0d0d0d); }
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 2.5rem; line-height: 1.2;
}
.cta-inner h2 em { font-style: italic; color: var(--gold-light); }

/* ============================================
   FOOTER
============================================ */
.footer { background: var(--ink); border-top: 1px solid rgba(184,148,90,0.1); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 240px; }
.footer-links-group h5 {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.footer-links-group ul li { margin-bottom: 0.6rem; }
.footer-links-group ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-links-group ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(184,148,90,0.1);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  animation: revealUp 0.9s var(--ease-out) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }

/* ============================================
   INDUSTRY PAGE STYLES
============================================ */
.ind-hero {
  min-height: 70vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem var(--gutter) 4rem;
  position: relative; overflow: hidden;
  background: var(--ink);
}
.ind-hero-content { position: relative; z-index: 2; max-width: 700px; }
.ind-hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(184,148,90,0.1); border: 1px solid var(--gold);
  padding: 0.5rem 1.2rem; margin-bottom: 2rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.ind-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 1.25rem;
}
.ind-hero h1 em { font-style: italic; color: var(--gold-light); }
.ind-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 500px; line-height: 1.8; }

.ind-features { padding: clamp(5rem, 8vw, 7rem) 0; }
.ind-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.ind-feature {
  padding: 2rem; border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.ind-feature:hover { border-color: var(--gold); background: var(--white); }
.ind-feature-icon { margin-bottom: 1.25rem; }
.ind-feature-icon svg { width: 32px; height: 32px; color: var(--gold); }
.ind-feature h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-bottom: 0.6rem; }
.ind-feature p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.8; }

.ind-case { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--ink); }
.ind-case-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.ind-case-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1206, #2a1e08);
  position: relative; overflow: hidden;
}
.ind-case-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 1rem; line-height: 1.2;
}
.ind-case-text h2 em { font-style: italic; color: var(--gold-light); }
.ind-case-text p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.85; margin-bottom: 1.5rem; }
.ind-stat-row { display: flex; gap: 2rem; margin-bottom: 2rem; }
.ind-stat .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--gold-light); display: block; line-height: 1; }
.ind-stat .lbl { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* Back nav on industry pages */
.back-nav {
  position: fixed; top: 1.5rem; left: var(--gutter); z-index: 100;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.back-nav:hover { color: var(--gold-light); }
.back-nav svg { width: 16px; height: 16px; }

/* ============================================
   CONTACT PAGE
============================================ */
.contact-hero { min-height: 40vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem var(--gutter) 3rem; background: var(--ink); }
.contact-hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 300; color: var(--white); line-height: 1.1; }
.contact-hero h1 em { font-style: italic; color: var(--gold-light); }

.contact-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--ink); margin-bottom: 1rem; }
.contact-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail span { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.contact-detail strong { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.2rem; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%23B8945A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; cursor: pointer; }
.form-submit { display: flex; align-items: center; gap: 1rem; }
.form-note { font-size: 0.75rem; color: var(--text-muted); }
.form-success {
  display: none;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 1.5rem;
  font-size: 0.88rem; color: var(--ink);
}
.form-success.show { display: block; }


.scroll-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 500px;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* The Secret Sauce */
  scroll-behavior: smooth;
  border-radius: 12px;
  scrollbar-width: none; /* Hides scrollbar for Firefox */
}

/* Hides scrollbar for Chrome/Safari */
.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-page {
  flex: 0 0 100%; /* Each page takes full width */
  width: 100%;
  scroll-snap-align: center; /* Snaps to the center of the viewport */
}

.scroll-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination Styling */
.pagination {
  margin-top: 15px;
  display: flex;
  gap: 8px;
}

.portfolio-dot {
  width: 12px;
  height: 12px;
  background: #555;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.portfolio-dot.active {
  background: #fff;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .scroll-container {height: 500px;}
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem; }
  .portfolio-grid { display: flex; flex-direction: row; width: 100vw; overflow-x: scroll;}
  .portfolio-item.large { grid-column: span 2; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .about-container { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-container { grid-template-columns: 1fr; gap: 3rem; }
  .ind-features-grid { grid-template-columns: 1fr 1fr; }
  .ind-case-inner { grid-template-columns: 1fr; }
  .scroll-container {height: auto;}
  .portfolio-overlay{padding: 3rem;}
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
  .portfolio-grid { display: flex; flex-direction: row; width: 100vw; overflow-x: scroll;}
  .portfolio-item.large { grid-column: span 1; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stat-strip { display: none; }
  .hero-content { padding-bottom: 3rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ind-features-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .scroll-container {height: auto;}
  .portfolio-overlay {padding: 1rem;}
}
