/* ================================================
   Magic Loops — style.css  |  Tesla-Edition
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300&family=Barlow+Condensed:wght@300;400;500;600;700;900&display=swap');

/* ─── Root ─── */
:root {
  --white:    #ffffff;
  --off:      #f4f4f4;
  --mid:      #e8e8e8;
  --border:   rgba(0,0,0,0.1);
  --dark:     #171717;
  --charcoal: #2e2e2e;
  --muted:    #6b6b6b;
  --accent:   #e31937;
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --t:        all 0.5s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; letter-spacing: -0.5px; line-height: 1.05;
}
.section-padding { padding: 120px 0; }

/* ─── Section titles ─── */
.section-label {
  display: inline-block; font-size: 0.68rem; letter-spacing: 4px;
  text-transform: uppercase; font-weight: 600; color: var(--muted);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 64px; }
.section-title h2 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.0;
}
.section-title p {
  margin-top: 16px; font-size: 1rem; color: var(--muted);
  font-weight: 300; max-width: 520px; line-height: 1.7;
}
.section-title.center { text-align: center; }
.section-title.center p { margin: 16px auto 0; }
.section-title.light h2 { color: white; }
.section-title.light .section-label { color: rgba(255,255,255,0.4); }
.section-title.light p { color: rgba(255,255,255,0.5); }

/* ─── Buttons ─── */
.btn-tesla {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; font-family: 'Barlow', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 1px; border: none; cursor: pointer;
  transition: var(--t); white-space: nowrap;
}
.btn-dark  { background: var(--dark); color: white; }
.btn-dark:hover  { background: #000; color: white; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: white; transform: translateY(-2px); }
.btn-white { background: white; color: var(--dark); }
.btn-white:hover { background: var(--off); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }

/* ================================================
   NAVBAR
   ================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 26px 0; transition: var(--t); background: transparent;
}
.site-nav.scrolled {
  padding: 14px 0; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; max-width: 1440px; margin: 0 auto;
}
.nav-brand {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem;
  font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
  color: white; text-decoration: none; transition: color 0.4s;
}
.site-nav.scrolled .nav-brand { color: var(--dark); }
.nav-brand span { color: var(--accent); }
.nav-list { display: flex; gap: 38px; list-style: none; align-items: center; }
.nav-list a {
  font-size: 0.73rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  text-decoration: none; transition: color 0.3s; position: relative;
}
.site-nav.scrolled .nav-list a { color: var(--charcoal); }
.nav-list a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-list a:hover::after { width: 100%; }
.nav-list a:hover { color: var(--accent) !important; }
.nav-list .nav-cta a {
  padding: 8px 20px; border: 1.5px solid rgba(255,255,255,0.55);
}
.site-nav.scrolled .nav-list .nav-cta a { border-color: var(--dark); }
.nav-list .nav-cta a:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: white !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: white; transition: var(--t); }
.site-nav.scrolled .nav-burger span { background: var(--dark); }

@media(max-width:900px){
  .nav-burger { display: flex; }
  .nav-list {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 20px 40px;
    border-top: 1px solid var(--border);
  }
  .nav-list.open { display: flex; }
  .nav-list a { color: var(--dark) !important; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-list .nav-cta a { border: none; padding: 12px 0; }
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; background: #0c0c0c;
  display: flex; align-items: center; justify-content: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.05);
  transition: opacity 1.8s ease-in-out, transform 9s linear;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.02) 40%,
    rgba(0,0,0,0.65) 100%
  );
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 0 24px;
  max-width: 1000px;
}
.hero-eyebrow {
  font-size: 1.28rem; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(6, 6, 6, 0.646); font-weight: 900;
  margin-bottom: 20px; display: block;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}
.hero-eyebrow.in { opacity: 1; transform: translateY(0); }
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900; color: rgb(251, 250, 250); line-height: 0.92;
  text-transform: uppercase; letter-spacing: -3px;
  margin-bottom: 28px; min-height: 9rem;
}
.hero-line {
  display: block; overflow: hidden;
}
.hero-line-inner {
  display: block;
  opacity: 0; transform: translateY(100%);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-line-inner.in { opacity: 1; transform: translateY(0); }
.hero-line-inner.out { opacity: 0; transform: translateY(-60%); transition-duration: 0.55s; }
.hero-desc {
  font-size: 1.05rem; color: rgba(7, 7, 7, 0.989); font-weight: 300;
  margin-bottom: 48px; letter-spacing: 0.3px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s ease 0.65s, transform 0.9s ease 0.65s;
}
.hero-desc.in { opacity: 1; transform: translateY(0); }
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s ease 0.9s, transform 0.9s ease 0.9s;
}
.hero-btns.in { opacity: 1; transform: translateY(0); }
.hero-dots {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 8px;
}
.hdot {
  width: 28px; height: 2px; background: rgba(255,255,255,0.25);
  cursor: pointer; border: none; transition: background 0.4s, width 0.4s;
  border-radius: 1px;
}
.hdot.active { background: white; width: 52px; }
.hero-scrollcue {
  position: absolute; right: 48px; bottom: 36px; z-index: 4;
  writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scrollcue span {
  font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.hero-scrollcue::after {
  content: ''; display: block; width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: lineDown 2.2s ease-in-out infinite;
}
@keyframes lineDown {
  0%,100%{transform:scaleY(0.3);opacity:.4;transform-origin:top}
  50%{transform:scaleY(1);opacity:1;transform-origin:top}
}

/* ================================================
   DIVIDERS — ultra-thin, Tesla vocabulary
   ================================================ */
.rule { width: 100%; height: 1px; background: var(--border); }
.rule-dark { background: rgba(255,255,255,0.08); }

.divider-ruled {
  display: flex; align-items: center; gap: 28px;
  padding: 0 0 64px;
}
.divider-ruled .rl { flex: 1; height: 1px; background: var(--border); }
.divider-ruled .rtxt {
  font-size: 0.62rem; letter-spacing: 5px; text-transform: uppercase;
  font-weight: 600; color: #ccc; white-space: nowrap;
}

.divider-num {
  display: flex; align-items: center; gap: 24px; padding: 64px 0;
}
.divider-num .dn {
  font-family: 'Barlow Condensed', sans-serif; font-size: 4.5rem;
  font-weight: 900; color: var(--mid); line-height: 1; letter-spacing: -3px; flex-shrink: 0;
}
.divider-num .dl { flex: 1; height: 1px; background: var(--mid); }

/* ================================================
   ABOUT
   ================================================ */
.about-section { background: var(--white); }
.about-img { overflow: hidden; }
.about-img img {
  width: 100%; height: 540px; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease);
}
.about-img:hover img { transform: scale(1.03); }
.about-feat {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.about-feat:last-of-type { border-bottom: none; }
.about-feat i { font-size: 0.9rem; color: var(--accent); width: 18px; flex-shrink:0; margin-top:4px; }
.about-feat strong { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.about-feat span { font-size: 0.83rem; color: var(--muted); font-weight: 300; }

/* ================================================
   SERVICES
   ================================================ */
.services-section { background: var(--off); }
.service-card {
  background: white; padding: 44px 32px;
  border-top: 3px solid transparent; height: 100%;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.service-card[data-aos] { opacity: 0; transform: translateY(28px); }
.service-card[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
.service-card:hover { border-top-color: var(--accent); box-shadow: 0 24px 64px rgba(0,0,0,0.09); transform: translateY(-8px); }
.s-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 3rem;
  font-weight: 900; color: var(--mid); line-height: 1;
  margin-bottom: 28px; letter-spacing: -2px;
  transition: color 0.4s;
}
.service-card:hover .s-num { color: rgba(227,25,55,0.12); }
.s-icon {
  width: 48px; height: 48px; background: var(--off);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background 0.4s;
}
.s-icon i { font-size: 1.3rem; color: var(--dark); transition: color 0.4s; }
.service-card:hover .s-icon { background: var(--dark); }
.service-card:hover .s-icon i { color: white; }
.s-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px; color: var(--dark);
  transition: color 0.35s;
}
.service-card:hover .s-title { color: var(--accent); }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ================================================
   CTA 1 — full-bleed dark
   ================================================ */
.cta-dark {
  background: var(--dark); padding: 110px 0; overflow: hidden; position: relative;
}
.cta-dark::after {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,25,55,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.cta-eyebrow { font-size: 0.68rem; letter-spacing: 5px; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 18px; display: block; }
.cta-dark h2 {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 900; color: white; text-transform: uppercase;
  line-height: 0.93; letter-spacing: -2px; margin-bottom: 20px;
}
.cta-dark p { color: rgba(255,255,255,0.45); font-size: 0.95rem; font-weight: 300; margin-bottom: 40px; line-height: 1.7; }
.cta-stat-col { padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.cta-stat-col:first-child { border-top: none; }
.ctn { font-family: 'Barlow Condensed', sans-serif; font-size: 3.8rem; font-weight: 900; color: white; letter-spacing: -2px; line-height: 1; }
.ctn .u { color: var(--accent); }
.ctl { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 8px; }

/* ================================================
   CTA 2 — image strip
   ================================================ */
.cta-strip {
  position: relative; height: 500px; overflow: hidden;
  display: flex; align-items: center;
}
.cta-strip-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.9s var(--ease);
}
.cta-strip:hover .cta-strip-img { transform: scale(1.03); }
.cta-strip-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 40%, rgba(0,0,0,0.15) 100%);
}
.cta-strip-body { position: relative; z-index: 2; }
.cta-strip-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4.5vw, 4rem); font-weight: 900;
  color: white; text-transform: uppercase; letter-spacing: -1px; margin-bottom: 14px;
}
.cta-strip-body p { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-weight: 300; }

/* ================================================
   GALLERY — Architecture style
   ================================================ */
.gallery-section { background: var(--white); }
.gallery-filter {
  display: flex; gap: 0; margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.gallery-filter button {
  background: none; border: none; cursor: pointer;
  font-family: 'Barlow', sans-serif; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); padding: 14px 26px; position: relative;
  transition: color 0.3s;
}
.gallery-filter button::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 2px; background: var(--dark);
  transition: width 0.35s var(--ease);
}
.gallery-filter button.active,
.gallery-filter button:hover { color: var(--dark); }
.gallery-filter button.active::after,
.gallery-filter button:hover::after { width: 100%; }

/* Architecture masonry grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 4px;
}
.arch-item {
  position: relative; overflow: hidden;
  background: var(--mid); cursor: pointer;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.arch-item[data-aos]             { opacity: 0; transform: scale(0.97); }
.arch-item[data-aos].aos-animate { opacity: 1; transform: scale(1); }

.arch-item:nth-child(1) { grid-column: span 7; grid-row: span 5; }
.arch-item:nth-child(2) { grid-column: span 5; grid-row: span 3; }
.arch-item:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.arch-item:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.arch-item:nth-child(5) { grid-column: span 5; grid-row: span 3; }
.arch-item:nth-child(6) { grid-column: span 3; grid-row: span 3; }
.arch-item:nth-child(7) { grid-column: span 6; grid-row: span 3; }
.arch-item:nth-child(8) { grid-column: span 6; grid-row: span 3; }

.arch-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: brightness(0.92) saturate(0.9);
}
.arch-item:hover .arch-img { transform: scale(1.06); filter: brightness(1) saturate(1); }

.arch-overlay {
  position: absolute; inset: 0;
  background: rgba(23,23,23,0);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px;
  transition: background 0.4s;
}
.arch-item:hover .arch-overlay { background: rgba(23,23,23,0.52); }

.arch-meta {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.arch-item:hover .arch-meta { opacity: 1; transform: translateY(0); }
.arch-meta h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: white; margin-bottom: 3px;
}
.arch-meta span {
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.arch-expand {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem; border: none; cursor: pointer;
  opacity: 0; transition: opacity 0.3s, background 0.3s;
  backdrop-filter: blur(6px);
}
.arch-item:hover .arch-expand { opacity: 1; }
.arch-expand:hover { background: var(--accent) !important; }

/* category pill */
.arch-cat {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: white; background: rgba(0,0,0,0.45);
  padding: 5px 10px; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s;
}
.arch-item:hover .arch-cat { opacity: 1; }

@media(max-width:768px){
  .arch-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .arch-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ================================================
   STATS / WHY US
   ================================================ */
.stats-section { background: var(--off); }
.stat-box {
  padding: 48px 32px;
  border-top: 3px solid var(--mid);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.stat-box[data-aos]             { opacity: 0; transform: translateY(24px); }
.stat-box[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
.stat-box:hover { border-top-color: var(--accent); transform: translateY(-4px); }
.stat-n {
  font-family: 'Barlow Condensed', sans-serif; font-size: 4.8rem;
  font-weight: 900; color: var(--dark); letter-spacing: -3px; line-height: 1;
}
.stat-n .u { color: var(--accent); }
.stat-l { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ================================================
   CONTACT
   ================================================ */
.contact-section { background: var(--white); }
.contact-section .form-control {
  border: none; border-bottom: 1px solid var(--border); border-radius: 0;
  padding: 14px 0; font-family: 'Barlow', sans-serif; font-size: 0.93rem;
  background: transparent; color: var(--dark); transition: border-color 0.3s;
}
.contact-section .form-control:focus { outline: none; box-shadow: none; border-bottom-color: var(--dark); background: transparent; }
.contact-section .form-control::placeholder { color: #bbb; font-weight: 300; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--muted);
}
.contact-item i { color: var(--accent); width: 16px; flex-shrink: 0; margin-top: 2px; }
.success-msg { display: none; text-align: center; padding: 40px; background: var(--off); }
.success-msg h5 { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.success-msg p { color: var(--muted); margin-top: 8px; }

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.97);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; max-width: 90vw; }
.lightbox-img { max-width: 100%; max-height: 85vh; display: block; }
.lightbox-close {
  position: absolute; top: -46px; right: 0;
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 2rem; cursor: pointer; transition: color 0.2s;
  font-family: 'Barlow', sans-serif; font-weight: 300;
}
.lightbox-close:hover { color: white; }
.lightbox-cap { color: rgba(255,255,255,0.35); text-align: center; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 14px; }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 72px 0 28px; }
.footer-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: white; margin-bottom: 12px; }
.footer-brand span { color: var(--accent); }
.footer-col-label { font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.25); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; font-size: 0.86rem; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: white; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 0.78rem;
  text-decoration: none; transition: var(--t);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 0.72rem; color: rgba(255,255,255,0.2);
}

/* ================================================
   AOS utility
   ================================================ */
[data-aos] {
  opacity: 0; transition-property: opacity, transform;
  transition-duration: 0.7s; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-aos="fade-up"]    { transform: translateY(32px); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="fade-in"]    { transform: none; }
[data-aos="zoom-in"]    { transform: scale(0.93); }
[data-aos].aos-animate  { opacity: 1; transform: none; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media(max-width:1100px){ .nav-inner { padding: 0 28px; } }
@media(max-width:768px) {
  .section-padding { padding: 80px 0; }
  .hero-h1 { letter-spacing: -1px; min-height: 6rem; }
  .hero-scrollcue { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
  .gallery-filter { flex-wrap: wrap; }
  .back-to-top { bottom: 22px; right: 20px; }
}

/* ── Kill whitespace below footer ── */
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
.footer { display: block; }  /* ensure no flex gap below */

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 1500;                        /* above footer, below loader */
  width: 44px; height: 44px;
  background: var(--dark); color: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1),
              transform 0.4s cubic-bezier(0.22,1,0.36,1),
              background 0.3s;
}
.back-to-top::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.12);
  transition: inset 0.3s cubic-bezier(0.22,1,0.36,1);
}
.back-to-top:hover { background: var(--accent); }
.back-to-top:hover::before { inset: 5px; }
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top svg {
  width: 14px; height: 14px;
  stroke: white; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.back-to-top:hover svg { transform: translateY(-2px); }