/* ============================================
   ALINE INTERIORS — GLOBAL STYLES
   Theme: Quiet Luxury (Dark Editorial)
   ============================================ */

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

:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-dim: #8a6e30;
  --white: #ffffff;
  --off-white: #f0ece4;
  --gray-light: #aaaaaa;
  --gray-mid: #666666;
  --gray-dark: #333333;
  --border: rgba(201, 168, 76, 0.2);
  --border-subtle: rgba(255,255,255,0.06);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 500; }

p { color: var(--gray-light); font-weight: 300; line-height: 1.8; }

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

img { display: block; width: 100%; object-fit: cover; }

ul { list-style: none; }

/* ============ UTILITY ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.gold-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--gray-light);
  font-weight: 300;
  max-width: 600px;
  font-size: 1rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}

.divider-center { margin: 24px auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-logo span { color: var(--gold); }

#name {
  padding-left: 0%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  transition: color var(--transition-fast);
}

.nav-mobile a:hover { color: var(--gold); }

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 40px;
  font-size: 2rem;
  color: var(--gray-light);
  cursor: pointer;
  background: none;
  border: none;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  color: var(--gray-mid);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-mid);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-mid);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-dark);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ============ WHATSAPP BUTTON ============ */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  transition: var(--transition);
  animation: pulse-gold 2.5s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background: var(--gold-light);
  animation: none;
}

.whatsapp-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--bg-primary);
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(201, 168, 76, 0.6); }
}
/* WhatsApp float (Font Awesome version - used on project & inner pages) */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  transition: var(--transition);
  animation: pulse-gold 2.5s infinite;
  color: var(--bg-primary);
  font-size: 26px;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--gold-light);
  animation: none;
  color: var(--bg-primary);
}


/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 40px; }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar { padding: 20px; }
  .navbar.scrolled { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-btn { bottom: 24px; right: 24px; }
}

/* ============ LOGO IMAGE ============ */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.15) contrast(1.05);
}
.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.15) contrast(1.05);
  margin-bottom: 16px;
  display: block;
}

/* Footer bottom 3 col */
.footer-bottom {
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p:last-of-type {
  flex: 1 1 100%;
  text-align: center;
  color: #ffffff;
  font-size: 0.75rem;
}
/* WhatsApp only in footer socials */
.footer-socials a { font-size: 1.2rem; }

/* ============ FOOTER BRIGHTNESS FIX ============ */
.footer {
  background: #1a1a1a !important;
}
.footer-tagline { color: #bbbbbb !important; }
.footer-heading { color: #ffffff !important; letter-spacing: 0.15em; }
.footer-links a { color: #bbbbbb !important; font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold) !important; }
.footer-contact-item { color: #bbbbbb !important; }
.footer-contact-item span { color: #bbbbbb !important; font-size: 0.9rem; }
.footer-contact-item i { color: var(--gold) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15) !important; }
.footer-bottom p { color: #999999 !important; }
.footer-bottom-links a { color: #999999 !important; }
.footer-bottom-links a:hover { color: var(--gold) !important; }
.footer-socials a {
  border-color: rgba(201,168,76,0.5) !important;
  color: var(--gold) !important;
  font-size: 1.3rem !important;
  width: 44px !important;
  height: 44px !important;
}
.footer-socials a:hover {
  background: var(--gold) !important;
  color: #0d0d0d !important;
}

/* ============ POPUP ============ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
.popup-overlay.popup-overlay-visible {
  opacity: 1;
  pointer-events: all;
}
.site-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 9999;
  background: #141414;
  border: 1px solid rgba(201,168,76,0.35);
  padding: 56px 48px 48px;
  max-width: 520px;
  width: calc(100% - 48px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
}
.site-popup.popup-visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.popup-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px 8px;
}
.popup-close-btn:hover { color: var(--gold); }
.popup-gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.popup-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 auto 20px;
}
.site-popup .popup-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.site-popup h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.site-popup p {
  color: #bbbbbb;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gold);
  color: #0d0d0d;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.popup-cta:hover { background: #e2c97e; transform: translateY(-2px); }
.popup-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #666666;
}

/* ============ MOBILE NAV FIXES ============ */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13,13,13,0.98);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex !important; }

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.2rem;
  color: #aaaaaa;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 8px 12px;
  z-index: 10;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--gold); }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ============ GENERAL MOBILE RESPONSIVENESS ============ */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .navbar { padding: 16px 20px !important; }
  .navbar.scrolled { padding: 12px 20px !important; }
  .nav-logo-img { height: 38px !important; }

  /* Sections */
  .section { padding: 60px 0 !important; }
  .section-sm { padding: 40px 0 !important; }
  .container { padding: 0 18px !important; }

  /* Hero */
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 60px 0 0 !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }

  /* Popup */
  .site-popup { padding: 48px 24px 36px; }
  .site-popup h3 { font-size: 1.5rem; }

  /* CTA */
  .cta-section { padding: 80px 0 !important; }
  .cta-section h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.7rem !important; }
  .btn { padding: 12px 24px; font-size: 0.78rem; }
  .works-grid { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .process-grid { grid-template-columns: 1fr !important; }
  .projects-grid { grid-template-columns: 1fr !important; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 0.72rem; }
}

/* ============ NAVBAR LOGO + NAME FIX ============ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Logo image - left side */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.15);
  display: block;
}

/* Brand name - centered absolutely */
#name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
  pointer-events: auto;
}
#name span { color: var(--gold); }

/* Footer logo */
.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.15);
  margin-bottom: 16px;
  display: block;
}

/* ============ MOBILE & TABLET NAVBAR FIX ============ */

/* Tablet + Mobile: hide nav links, show hamburger */
@media (max-width: 1024px) {
  .nav-links    { display: none !important; }
  .nav-hamburger { display: flex !important; }
}

/* Tablet (481px – 1024px): show brand name centred, smaller */
@media (max-width: 1024px) and (min-width: 481px) {
  .navbar { padding: 14px 20px !important; }
  .navbar.scrolled { padding: 11px 20px !important; }
  .nav-logo-img { height: 38px !important; }
  #name {
    display: block !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.08em !important;
  }
}

/* Mobile (<=480px): show brand name small below logo OR hide it */
@media (max-width: 480px) {
  .navbar { padding: 10px 14px !important; }
  .navbar.scrolled { padding: 8px 14px !important; }
  .nav-logo-img { height: 34px !important; }
  /* Keep #name visible but smaller on phones */
  #name {
    display: block !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.06em !important;
  }
  .nav-hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
  }
}

/* ============ CONTACT PAGE MOBILE FIX ============ */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-form-wrap {
    padding: 24px 16px !important;
  }
  .contact-map iframe {
    width: 100% !important;
    height: 200px !important;
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .contact-info-item {
    gap: 12px !important;
  }
}

/* ============ POPUP FIX - dont show on contact page ============ */
body.no-popup #sitePopup,
body.no-popup #popupOverlay {
  display: none !important;
}

/* ============ GENERAL MOBILE FIXES ============ */
@media (max-width: 480px) {
  .container { padding: 0 16px !important; }
  .section { padding: 60px 0 !important; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.6rem !important; }
  .btn { padding: 12px 20px; font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .site-popup { padding: 44px 20px 32px !important; width: calc(100% - 32px) !important; }
  .site-popup h3 { font-size: 1.3rem !important; }
}


/* ============ NAVBAR BREAKPOINT MASTER OVERRIDE ============ */
/* This overrides all earlier conflicting nav rules */

/* Desktop (>1024px): show links, hide hamburger */
@media (min-width: 1025px) {
  .nav-links    { display: flex !important; }
  .nav-hamburger { display: none !important; }
  #name { display: block !important; font-size: 1.3rem !important; }
}

/* Tablet + Mobile (<=1024px): hide links, show hamburger */
@media (max-width: 1024px) {
  .nav-links    { display: none !important; }
  .nav-hamburger { display: flex !important; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1002; }
  .nav-hamburger span { display: block; width: 24px; height: 2px; background: #ffffff; }
  .navbar { padding: 14px 20px !important; }
  .navbar.scrolled { padding: 11px 20px !important; }
  .nav-logo-img { height: 38px !important; }
  /* Brand name: visible, centred, auto-size */
  #name {
    display: block !important;
    font-size: clamp(0.85rem, 2.5vw, 1.2rem) !important;
    letter-spacing: 0.07em !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: auto;
  }
}

/* Small phones (<=400px): slightly smaller name */
@media (max-width: 400px) {
  #name { font-size: 0.82rem !important; letter-spacing: 0.05em !important; }
  .navbar { padding: 10px 12px !important; }
  .nav-logo-img { height: 32px !important; }
}
