	/* ==========================================================================
   ATHARVA DESIGN STUDIO - ARCHITECTURE & DRAFTING PRACTICE STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

 :root {
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7F5F1;
  --bg-surface: #FAF9F6;

  --text-primary: #1B1B1B;
  --text-secondary: #5F625F;
  --text-muted: #858781;

  --accent-gold: #B7862E;
  --accent-gold-hover: #9D7126;
  --accent-gold-glow: rgba(183, 134, 46, 0.12);

  --border-color: rgba(27, 27, 27, 0.10);
  --border-gold: rgba(183, 134, 46, 0.30);

  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1240px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title p {
  font-size: 0.98rem;
  color: var(--accent-gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  display: inline-block;
  background: rgba(197, 160, 89, 0.08);
  padding: 0.4rem 1.1rem;
  border-left: 3px solid var(--accent-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.25rem;
  background-color: var(--accent-gold);
  color: #0D0E11;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #0D0E11;
}

/* ==========================================================================
   TOPBAR & HEADER NAVIGATION
   ========================================================================== */

.topbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav {
  position: relative;
  top: auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-smooth);
}

.links a:hover,
.links a.active {
  color: var(--text-primary);
}

.links a:hover::after,
.links a.active::after {
  width: 100%;
}

.menu {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 35px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: brightness(1.02) contrast(1.04);
  transform: scale(1.04);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(13, 14, 17, 0.95) 0%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.42) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 4rem 0;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   ABOUT & FEATURE SECTIONS
   ========================================================================== */

.about {
  padding: 8rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-copy h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-copy p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.about-card {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 1rem;
  background: var(--bg-card);
}

.about-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* ==========================================================================
   SERVICES GRID (16 SPECIFIC SERVICES)
   ========================================================================== */

.services {
  padding: 8rem 0;
  background: var(--bg-dark);
}

.services-grid-16 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-sm {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card-sm:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
}

.service-card-sm h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card-sm p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-top: auto;
}

/* ==========================================================================
   PORTFOLIO GRID & CATEGORIES
   ========================================================================== */

.portfolio {
  padding: 8rem 0;
  background: var(--bg-surface);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.65rem 1.35rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-gold);
  color: #0D0E11;
  border-color: var(--accent-gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.portfolio-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.08);
}

.portfolio-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-category-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.portfolio-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE US & OUTSOURCING HIGHLIGHTS
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--accent-gold);
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-section {
  padding: 8rem 0;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer p {
  line-height: 1.8;
  font-size: 0.92rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid var(--border-gold);
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lb-btn:hover {
  background: var(--accent-gold);
  color: #0D0E11;
}

.lb-close { top: 2rem; right: 2rem; }
.lb-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2rem; top: 50%; transform: translateY(-50%); }

.lb-caption {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 3.25rem; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .menu { display: block; }
  
  .nav-right {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.75rem;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }
  
  .nav-right.active {
    transform: translateY(0);
  }
  
  .links {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
  }
  
  .hero-copy h1 { font-size: 2.5rem; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .topbar .container { justify-content: center; text-align: center; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
}

/* ==========================================================================
   ATHARVA DESIGN STUDIO — LIGHT ARCHITECTURAL THEME OVERRIDES
   ========================================================================== */
body { background: #FFFFFF; color: #1B1B1B; }
.topbar { color: #62645F; border-color: rgba(27,27,27,.08); }
.nav { box-shadow: 0 4px 20px rgba(20,20,20,.05); }
.links a { color: #5F625F; }
.links a:hover, .links a.active { color: #1B1B1B; }
.hero::after {
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 48%, rgba(255,255,255,.25) 100%);
}
.hero-copy h1 { color: #151515; max-width: 700px; }
.hero-copy p { color: #4F524F; max-width: 620px; }
.about, .portfolio, .contact-section { background: #FAF9F6; }
.services { background: #FFFFFF; }
.service-card-sm, .portfolio-card, .why-card, .info-card, .contact-form {
  background: #FFFFFF;
  border-color: rgba(27,27,27,.10);
}
.service-card-sm:hover, .portfolio-card:hover { background: #F7F5F1; }
.filter-btn { color: #5F625F; border-color: rgba(27,27,27,.14); }
.filter-btn.active, .filter-btn:hover { color: #FFFFFF; }
.form-control { background: #FFFFFF; color: #1B1B1B; border-color: rgba(27,27,27,.14); }
.footer { background: #F4F2ED; color: #5F625F; }
.footer h4 { color: #1B1B1B; }
.footer-bottom { border-color: rgba(27,27,27,.10); }
.portfolio-note {
  background: #F7F5F1;
  border: 1px solid rgba(183,134,46,.22);
  padding: 1.75rem;
}
.portfolio-note h4 { font-family: var(--font-heading); font-size: 1.05rem; color: #9D7126; margin-bottom: .45rem; }
.portfolio-note p { color: #686B66; font-size: .9rem; line-height: 1.6; margin: 0 auto; max-width: 720px; }
code { color: #9D7126; }

@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 2.85rem; }
}
@media (max-width: 768px) {
  .hero-copy h1 { font-size: 2.25rem; }
  .hero-copy p { font-size: 1rem; }
  .brand img { height: 44px; }
}

.home-video { padding: 6rem 0; background: #FFFFFF; }
.video-placeholder {
  min-height: 360px;
  border: 1px solid rgba(27,27,27,.10);
  background: linear-gradient(135deg,#F7F5F1,#FFFFFF);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 3rem;
}
.video-placeholder h3 { font-family: var(--font-heading); font-size: 1.65rem; color:#1B1B1B; margin: .5rem 0 .75rem; }
.video-placeholder p { max-width: 650px; margin: 0 auto; color:#656862; line-height:1.7; font-size:.95rem; }


/* Final layout refinements */
.nav { position: relative; top: auto; }
.home-video { padding: 4rem 0; }
.video-frame { width: 100%; max-height: 500px; overflow: hidden; border: 0 !important; outline: 0; background: #000; }
.home-video-player { width: 100%; height: min(500px, 52vw); min-height: 280px; max-height: 500px; object-fit: cover; border: 0 !important; outline: 0; box-shadow: none; }
.section-title { margin-bottom: 2rem; }
.about, .services, .portfolio, .contact-section { padding-top: 5rem; padding-bottom: 5rem; }
@media (max-width: 768px) {
  .home-video { padding: 3rem 0; }
  .home-video-player { height: 52vw; min-height: 210px; max-height: 360px; }
  .video-frame { max-height: 360px; }
}


/* ==========================================================================
   FINAL RESPONSIVE + FEATURED WORKS SLIDER
   ========================================================================== */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.topbar { display: none !important; }
.nav { position: relative; top: auto; }
.hero-img-wrap img { opacity: 1; filter: none; transform: none; image-rendering: auto; }
.hero::after { background: linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.18) 100%); }
.hero { min-height: calc(100vh - var(--header-height)); }

/* Keep every major image crisp and contained on small screens. */
.about-card { padding: .55rem; }
.about-card img { height: clamp(240px, 42vw, 460px); aspect-ratio: 4 / 3; object-fit: cover; }
.hero-img-wrap img, .portfolio-card-img img, .about-card img { max-width: 100%; }

.footer-brand-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.footer-brand-row img { height: 46px; width: auto; object-fit: contain; flex: 0 0 auto; }
.footer-email { font-size: .9rem; color: var(--text-primary); overflow-wrap: anywhere; }
.footer-email:hover { color: var(--accent-gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; line-height: 1.55; }
.footer-contact-list a, .footer-contact-list > span { display: flex; align-items: flex-start; gap: .5rem; color: var(--text-secondary); }
.footer-contact-list a:hover { color: var(--accent-gold); }

.featured-portfolio { overflow: hidden; }
.portfolio-slider { position: relative; width: 100%; padding: 0 3.2rem; }
.portfolio-slider-viewport { overflow: hidden; width: 100%; }
.portfolio-slider-track { display: flex; gap: 1.5rem; transition: transform .55s cubic-bezier(.16,1,.3,1); will-change: transform; }
.feature-slide { flex: 0 0 calc((100% - 3rem) / 3); min-width: 0; }
.feature-slide:hover { transform: translateY(-4px); }
.portfolio-slider-btn { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(27,27,27,.14); background: rgba(255,255,255,.96); color: #1B1B1B; display: flex; align-items: center; justify-content: center; font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 25px rgba(20,20,20,.12); }
.portfolio-slider-btn:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: #fff; }
.portfolio-slider-prev { left: 0; }
.portfolio-slider-next { right: 0; }
.portfolio-slider-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1.25rem; }
.portfolio-slider-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: rgba(27,27,27,.18); cursor: pointer; }
.portfolio-slider-dots button.active { background: var(--accent-gold); transform: scale(1.25); }

@media (max-width: 1024px) {
  .container { padding-left: 1.35rem; padding-right: 1.35rem; }
  .feature-slide { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .nav { height: 68px; }
  .brand img { height: 42px; max-width: 190px; }
  .nav-right { top: 68px; max-width: 100vw; }
  .hero { min-height: 70vh; }
  .hero-img-wrap img { object-position: center center; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.84) 72%, rgba(255,255,255,.96) 100%); }
  .hero-copy { padding: 3rem 0; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-card img { height: auto; aspect-ratio: 4 / 3; max-height: 320px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-card-img { aspect-ratio: 16 / 10; }
  .portfolio-slider { padding: 0 2.1rem; }
  .portfolio-slider-track { gap: 0; }
  .feature-slide { flex: 0 0 100%; }
  .portfolio-slider-btn { width: 42px; height: 42px; font-size: 1.7rem; }
  .portfolio-slider-prev { left: .15rem; }
  .portfolio-slider-next { right: .15rem; }
  .portfolio-slider-dots { display: none; }
  .footer-brand-row { align-items: center; }
  .footer-brand-row img { height: 42px; }
  .footer-email { font-size: .82rem; }
  .home-video-player { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; max-height: none; object-fit: cover; }
  .video-frame { max-height: none; }
  .section-title { margin-bottom: 1.5rem; }
}

@media (max-width: 420px) {
  .hero { min-height: 62vh; }
  .eyebrow { font-size: .7rem; letter-spacing: .16em; }
  .portfolio-slider { padding: 0 1.8rem; }
  .portfolio-slider-btn { width: 38px; height: 38px; }
}


/* Featured Works slider stability fixes */
.portfolio-slider { overflow: visible; }
.portfolio-slider-viewport { overflow: hidden; }
.portfolio-slider-track { align-items: stretch; }
.feature-slide { flex: 0 0 calc((100% - 3rem) / 3); }
.portfolio-slider-btn { pointer-events: auto; }
@media (max-width: 1024px) {
  .feature-slide { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 768px) {
  .feature-slide { flex-basis: 100%; }
  .portfolio-slider { padding-left: 2.2rem; padding-right: 2.2rem; }
}

/* slider-build: 2026-08-14-3 */


/* ==========================================================================
   2026-08-15 FINAL RESPONSIVE / VISUAL REFINEMENT
   ========================================================================== */

/* Banner matches the supplied reference: compact, crisp, full-width image. */
.hero {
  min-height: 380px;
  height: 380px;
  align-items: center;
}
.hero-img-wrap img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  object-fit: cover;
  object-position: center 48%;
}
.hero::after {
  background: linear-gradient(90deg, rgba(10,12,14,.72) 0%, rgba(10,12,14,.34) 48%, rgba(10,12,14,.05) 100%) !important;
}
.hero-copy { padding: 2rem 0; }
.hero-copy .eyebrow,
.hero-copy h1 { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.22); }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.35rem); margin-bottom: 0; }

/* Consistent section rhythm. */
.about, .services, .portfolio, .contact-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section-title { margin-bottom: 1.75rem; }

/* Core services: 6 cards on the home page, 3 columns on desktop. */
.services-grid-16 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-card-sm { padding: 1.7rem 1.5rem; }

/* Featured slider arrows stay perfectly centered on the card track. */
.portfolio-slider-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
  align-items: center;
  justify-content: center;
}
.portfolio-slider-prev { left: .1rem; }
.portfolio-slider-next { right: .1rem; }

/* Map links look like normal contact text, but remain clickable. */
.address-link { color: inherit; text-decoration: none; }
.address-link:hover { color: var(--accent-gold); }

.desktop-more-label { display: inline; }
.mobile-more-label { display: none; }

@media (max-width: 1024px) {
  .services-grid-16 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .nav { height: 68px; }
  .brand img { height: 42px; max-width: 180px; }

  .hero { min-height: 300px; height: 300px; }
  .hero-img-wrap img { object-position: 58% center; }
  .hero::after {
    background: linear-gradient(90deg, rgba(10,12,14,.72) 0%, rgba(10,12,14,.38) 58%, rgba(10,12,14,.08) 100%) !important;
  }
  .hero-copy { padding: 1.5rem 0; max-width: 88%; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .15em; }

  .about, .services, .portfolio, .contact-section { padding-top: 3rem; padding-bottom: 3rem; }
  .section-title { margin-bottom: 1.25rem; }
  .section-title h2 { font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .section-title p { font-size: .82rem; line-height: 1.55; }

  /* Exactly two columns for Core Services on mobile. */
  .services-grid-16 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .service-card-sm { padding: 1.15rem .9rem; min-height: 180px; }
  .service-card-sm h3 { font-size: .9rem; line-height: 1.25; }
  .service-card-sm p { font-size: .78rem; line-height: 1.5; }
  .service-num { margin-bottom: .65rem; font-size: .75rem; }

  /* About: one paragraph + More button on mobile. */
  .about-extra { display: none; }
  .desktop-more-label { display: none; }
  .mobile-more-label { display: inline; }
  .about-grid { gap: 1.25rem; }
  .about-card img { width: 100%; height: 240px; max-height: 240px; aspect-ratio: 4 / 3; object-fit: cover; }

  /* Two-column mobile footer: four blocks = two compact rows. */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; margin-bottom: 2rem; }
  .footer-brand-row { flex-wrap: nowrap; gap: .55rem; margin-bottom: .8rem; }
  .footer-brand-row img { height: 36px; max-width: 112px; }
  .footer-email { font-size: .68rem; white-space: nowrap; }
  .footer h4 { font-size: .9rem; margin-bottom: .8rem; }
  .footer p, .footer ul li a, .footer-contact-list { font-size: .75rem; line-height: 1.45; }
  .footer ul li { margin-bottom: .45rem; }
  .footer-contact-list { gap: .5rem; }
  .footer-bottom { padding-top: 1rem; font-size: .72rem; }

  /* Keep featured work usable and show two cards at a time on phones. */
  .portfolio-slider { padding-left: 2.1rem; padding-right: 2.1rem; }
  .portfolio-slider-track { gap: .8rem; }
  .feature-slide { flex-basis: calc((100% - .8rem) / 2); }
  .portfolio-slider-btn { width: 40px; height: 40px; font-size: 1.55rem; }
  .portfolio-slider-prev { left: .05rem; }
  .portfolio-slider-next { right: .05rem; }

  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .why-card { padding: 1.15rem .9rem; }
  .why-card h4 { font-size: .9rem; }
  .why-card p { font-size: .76rem; line-height: 1.5; }

  .contact-grid { gap: 1.25rem; }
  .contact-info { gap: 1rem; }
  .info-card, .contact-form { padding: 1.25rem; }
}

@media (max-width: 430px) {
  .hero { height: 285px; min-height: 285px; }
  .services-grid-16 { gap: .7rem; }
  .service-card-sm { min-height: 170px; padding: 1rem .75rem; }
  .service-card-sm h3 { font-size: .84rem; }
  .service-card-sm p { font-size: .72rem; }
  .footer-email { font-size: .61rem; }
  .footer-brand-row img { max-width: 100px; }
}


/* ==========================================================================
   MOBILE RESPONSIVE REFINEMENT — FEATURED WORKS + WHY WORK WITH US
   Requested: single featured card per mobile slide, larger image, four
   Why Work With Us cards, and consistent responsive behavior.
   ========================================================================== */

/* Four equal cards on wide screens. */
@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .why-card {
    padding: 1.65rem 1.35rem;
  }
}

/* Tablet: keep the four Why cards balanced in a 2 × 2 layout. */
@media (min-width: 769px) and (max-width: 1099px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Phones: one Featured Work card per slide with a much larger image. */
@media (max-width: 768px) {
  .portfolio-slider {
    padding-left: 1.9rem;
    padding-right: 1.9rem;
  }

  .portfolio-slider-track {
    gap: .8rem;
  }

  .portfolio-slider-track .feature-slide {
    flex: 0 0 100% !important;
    width: 100%;
    min-width: 0;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 185px;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body {
    padding: 1.15rem 1rem 1.3rem;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body h3 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body p {
    font-size: .82rem;
    line-height: 1.55;
  }

  /* Four Why cards = clean 2 × 2 mobile grid. */
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }

  .why-card {
    min-width: 0;
    padding: 1.05rem .85rem;
    border-left-width: 2px;
  }

  .why-card h4 {
    font-size: .86rem;
    line-height: 1.2;
  }

  .why-card p {
    font-size: .74rem;
    line-height: 1.48;
  }
}

/* Small phones: preserve the same one-card slider and 2 × 2 Why grid. */
@media (max-width: 430px) {
  .portfolio-slider {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-img {
    aspect-ratio: 4 / 3;
    min-height: 175px;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body {
    padding: 1rem .85rem 1.15rem;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body h3 {
    font-size: .98rem;
  }

  .portfolio-slider-track .feature-slide .portfolio-card-body p {
    font-size: .75rem;
    line-height: 1.5;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }

  .why-card {
    padding: 1rem .75rem;
  }

  .why-card h4 {
    font-size: .82rem;
  }

  .why-card p {
    font-size: .7rem;
  }
}
