/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:   #0b1d3a;       /* deep blue — primary brand */
  --navy-mid: #122654;     /* slightly lighter deep blue */
  --gold:   #c9a84c;       /* gold accent */
  --gold-light: #e2c06e;   /* hover / lighter gold */
  --gold-pale: #f5e9c8;    /* very light gold tint for backgrounds */
  --black:  #1a1a1a;
  --white:  #ffffff;
  --light:  #f7f5f0;       /* warm off-white with a gold undertone */
  --muted:  #5a5a5a;
  --border: #e2ddd0;
  --shadow-sm: 0 2px 12px rgba(11,29,58,0.08);
  --shadow-md: 0 8px 32px rgba(11,29,58,0.14);
  --shadow-lg: 0 20px 60px rgba(11,29,58,0.20);
  --radius: 2px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.22s ease;
}

/* ── Dark mode variables ── */
.dark-mode {
  --black:  #f0f0f0;
  --white:  #0d0d0d;
  --light:  #111111;
  --muted:  #a0a0a0;
  --border: #2a2a2a;
  --navy:   #C9A84C;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
}
.dark-mode body  { background: #0d0d0d; color: #f0f0f0; }
.dark-mode #navbar { background: #111111 !important; }
.dark-mode .blog-card,
.dark-mode .album-card,
.dark-mode .project-card,
.dark-mode .music-card { background: #1a1a1a; border-color: #2a2a2a; }
.dark-mode .footer { background: #111111; }
.dark-mode input,
.dark-mode textarea,
.dark-mode select { background: #1a1a1a; color: #f0f0f0; border-color: #2a2a2a; }

/* ── Dark/lang navbar controls ── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

/* ── nav-right: lang + dark + hamburger grouped on right ── */
.nav-right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
#darkToggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.4);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
#darkToggle:hover { border-color: #C9A84C; background: rgba(201,168,76,0.1); }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 20px;
  padding: 2px 4px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted, #5a5a5a);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 14px;
  transition: color 0.15s, background 0.15s;
}
.lang-btn:hover { color: #C9A84C; }
.lang-btn--active { color: #C9A84C; background: rgba(201,168,76,0.12); }

/* Reading progress bar */
#readingProgress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: #C9A84C;
  z-index: 9999;
  transition: width 0.1s linear;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-pad { padding: 120px 0; }
.section-pad-top-0 { padding-top: 0; }

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  box-shadow: 0 8px 24px rgba(11,29,58,0.36);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-full { width: 100%; text-align: center; }

/* ═══════════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════════ */
body.preloading { overflow: hidden; }

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0b1d3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#preloader.preloader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 126px;
  height: 126px;
  transform: rotate(-90deg);
}

.preloader-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 370;
  stroke-dashoffset: 370;
  animation: pl-ring 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

@keyframes pl-ring {
  to { stroke-dashoffset: 0; }
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.45);
  animation:
    pl-logo-in   0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards,
    pl-pulse     0.55s ease                           1.15s forwards;
}

@keyframes pl-logo-in {
  to { opacity: 1; transform: scale(1); }
}

@keyframes pl-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.preloader-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  margin: 0;
  animation: pl-fade-in 0.65s ease 1.0s forwards;
}

@keyframes pl-fade-in {
  to { opacity: 1; }
}

.preloader-bar-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 2px 2px 0;
  animation: pl-progress 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

@keyframes pl-progress {
  to { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-wrap { overflow: hidden; }

.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* Gold accent underline for active nav */
.nav-link.active {
  color: var(--gold-light) !important;
}
.nav-link.active::after {
  width: 100%;
  background: var(--gold-light);
}
#navbar.scrolled .nav-link.active {
  color: var(--gold) !important;
}
#navbar.scrolled .nav-link.active::after {
  background: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR UNDERLINE LINK EFFECT
═══════════════════════════════════════════════════════════ */
.nav-link,
.project-card-link,
.blog-link,
.footer-legal a {
  position: relative;
}
.nav-link::after,
.project-card-link::after,
.blog-link::after,
.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.nav-link:hover::after,
.project-card-link:hover::after,
.blog-link:hover::after,
.footer-legal a:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition),
              box-shadow var(--transition),
              padding var(--transition);
  padding: 28px 0;
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.nav-logo-img:hover {
  opacity: 0.85;
}

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

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition-fast);
}

#navbar.scrolled .nav-link { color: var(--black); }
.nav-link:hover { color: var(--white); }
#navbar.scrolled .nav-link:hover { color: var(--navy); }

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  border-radius: var(--radius);
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.nav-cta:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

#navbar.scrolled .nav-cta {
  border-color: var(--gold);
  color: var(--gold);
}

#navbar.scrolled .nav-cta:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}
#navbar.scrolled .nav-toggle span { background: var(--black); }

/* Hamburger → X when nav is open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Contact button inside the mobile/tablet drawer — hidden on desktop */
.nav-cta-drawer-li {
  display: none;
  width: 100%;
  margin-top: 16px;
  list-style: none;
}
.nav-cta-drawer {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-cta-drawer:hover {
  background: var(--gold-light);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-parallax {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, #060c18 0%, #0b1d3a 50%, #060c18 100%);
  will-change: transform;
}

/* decorative grid overlay */
.hero-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6,12,24,0.88) 0%,
    rgba(11,29,58,0.72) 50%,
    rgba(6,12,24,0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
}

.hero-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 48px);
  line-height: 1;
  width: 100%;
  max-width: 1000px;
}

.hero-first,
.hero-last {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold);
  display: inline-block;
  opacity: 0;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5), 0 0 80px rgba(201,168,76,0.25);
  flex: 1;
  text-align: center;
}

.hero-first {
  transform: translateX(-120px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-last {
  transform: translateX(120px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-first.loaded,
.hero-last.loaded {
  opacity: 1;
  transform: translateX(0);
}

.hero-photo-wrap {
  width: clamp(140px, 18vw, 240px);
  height: clamp(175px, 22.5vw, 300px);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1.1s ease 0.35s, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 3px var(--gold);
  flex-shrink: 0;
}

.hero-photo-wrap.loaded {
  opacity: 1;
  transform: scale(1);
}

.hero-photo { object-position: top center; }

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  max-width: 560px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease 0.8s, transform 0.9s ease 0.8s;
}

.hero-tagline.loaded,
.hero-cta.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease 1s, transform 0.9s ease 1s,
              background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.hero-cta:hover { transform: translateY(-2px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2.4s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6) translateY(16px); }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about { background: var(--white); }

.about .section-heading {
  margin-bottom: 72px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-quote blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 32px;
  font-style: italic;
}

.about-bio p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════
   BANNER
═══════════════════════════════════════════════════════════ */
.banner {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.banner-parallax {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, #060c18 0%, #0b1d3a 50%, #060c18 100%);
  will-change: transform;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,12,24,0.90) 0%,
    rgba(11,29,58,0.80) 60%,
    rgba(6,12,24,0.90) 100%
  );
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
}

.banner-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.banner-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS DESCRIPTION
═══════════════════════════════════════════════════════════ */
.projects-desc { background: var(--light); }

.projects-desc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.projects-desc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
}

.projects-desc-right p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS GRID
═══════════════════════════════════════════════════════════ */
.projects-grid-section { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.project-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--border);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.project-card-img {
  height: 220px;
  overflow: hidden;
}

.project-card-img img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-img img {
  transform: scale(1.06);
}

.project-card-body {
  padding: 28px 28px 36px;
}

.project-logo {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

.project-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.project-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.project-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.project-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}
.project-card-link:hover .arrow,
.blog-link:hover .arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery-section { background: var(--light); }

.gallery-section .section-heading {
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 1px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-info-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 29, 58, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.88rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease,
              background 0.2s ease, border-color 0.2s ease;
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-item:hover .gallery-info-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-info-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ─── GALLERY PHOTO MODAL ──────────────────────────────────── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-modal-card {
  position: relative;
  background: #fff;
  width: min(440px, 100%);
  border-radius: 3px;
  overflow: hidden;
  transform: translateY(22px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

/* Wider card when a full photo is shown */
.gallery-modal.has-photo .gallery-modal-card {
  width: min(700px, 94vw);
}

#gm-image {
  display: none;
  width: 100%;
  max-height: clamp(220px, 60vh, 560px);
  object-fit: contain;
  background: #050f23;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gallery-modal.active .gallery-modal-card {
  transform: translateY(0) scale(1);
}

.gallery-modal-header {
  background: var(--navy);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.gallery-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.gallery-modal-close:hover { color: #fff; }

.gallery-modal-body {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-modal-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gallery-modal-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid #e4dfd3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-modal-icon-wrap svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-modal-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.gallery-modal-value {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #1a2a40;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   BLOG & LIBRARY
═══════════════════════════════════════════════════════════ */
.blog-section { background: var(--white); }

.blog-section .section-heading {
  margin-bottom: 60px;
}

/* ── Newspaper grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 3px solid var(--black);
}

.blog-card {
  overflow: hidden;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  background: #fff;
}

/* Vertical column dividers for cards in position 2, 3 of each row */
.blog-grid .blog-card:not(:first-child):nth-child(3n+2),
.blog-grid .blog-card:not(:first-child):nth-child(3n+0) {
  border-left: 1px solid var(--border);
}

.blog-card:hover { background: #faf9f6; }

/* ── Hero card (first) — full width, landscape ── */
.blog-grid .blog-card:first-child {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  border-bottom: 2px solid var(--black);
  min-height: 360px;
}

.blog-grid .blog-card:first-child .blog-card-img {
  width: 52%;
  height: auto;
  flex-shrink: 0;
}

.blog-grid .blog-card:first-child .blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-grid .blog-card:first-child .blog-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}

.blog-grid .blog-card:first-child .blog-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
}

.blog-grid .blog-card:first-child .blog-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  -webkit-line-clamp: unset;
}

.blog-grid .blog-card:first-child .blog-link {
  margin-top: auto;
  padding-top: 20px;
}

/* ── Lead stories (cards 2–4) ── */
.blog-grid .blog-card:nth-child(2),
.blog-grid .blog-card:nth-child(3),
.blog-grid .blog-card:nth-child(4) {
  border-top: none;
}

.blog-grid .blog-card:nth-child(2) { border-left: none; }
.blog-grid .blog-card:nth-child(4) { border-right: none; }

/* ── Standard card image ── */
.blog-card-img {
  height: 210px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 24px 26px 28px;
}

/* ── Compact cards (5th onward) — no image, headline only ── */
.blog-grid .blog-card:nth-child(n+5) .blog-card-img {
  height: 150px;
}

.blog-grid .blog-card:nth-child(n+5) .blog-card-body {
  padding: 18px 22px 22px;
}

.blog-grid .blog-card:nth-child(n+5) .blog-title {
  font-size: 0.93rem;
  margin-bottom: 8px;
}

.blog-grid .blog-card:nth-child(n+5) .blog-excerpt {
  font-size: 0.83rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.blog-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.blog-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.blog-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact-section { background: var(--light); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-left .section-heading {
  margin-bottom: 24px;
}

.contact-invite {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  position: relative;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--transition);
}

.contact-email:hover::after {
  transform: scaleX(1);
}

.contact-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--black);
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.social-link svg {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.footer-location {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

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

.footer .social-link {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

.footer .social-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legal a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section-pad { padding: 90px 0; }

  /* NAV — hamburger drawer on tablet & mobile */
  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }

  /* nav-right stays in the navbar on mobile — lang | dark | hamburger */
  .nav-right {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: auto;
    gap: 6px;
  }

  /* Hide old nav-controls if any remain */
  .nav-controls {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78vw;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 80px 36px 40px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  .nav-links.open::before { opacity: 1; }
  .nav-link {
    color: var(--black);
    font-size: 0.95rem;
    padding: 10px 0;
    display: block;
    width: 100%;
  }
  .nav-cta-drawer-li { display: block; }

  /* HERO */
  .hero-photo-wrap {
    width: clamp(120px, 16vw, 200px);
    height: clamp(150px, 20vw, 250px);
  }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* PROJECTS */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-desc-inner { gap: 48px; }

  /* BLOG — tablet: hero stacks vertically, 2-col below */
  .blog-section .section-heading { margin-bottom: 44px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .blog-grid .blog-card:first-child { flex-direction: column; min-height: auto; }
  .blog-grid .blog-card:first-child .blog-card-img { width: 100%; height: 260px; }
  .blog-grid .blog-card:first-child .blog-card-body { padding: 28px; }
  .blog-grid .blog-card:first-child .blog-title { font-size: 1.5rem; }
  .blog-grid .blog-card:nth-child(2) { border-left: 1px solid var(--border); }
  .blog-grid .blog-card:nth-child(4) { grid-column: auto; border-right: none; }
  .blog-grid .blog-card:nth-child(5) { grid-column: auto; max-width: none; }
  .blog-card-img { height: 180px; }
  .blog-card-body { padding: 20px; }
  .blog-title { font-size: 1rem; }

  /* CONTACT */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* BANNER */
  .banner { height: 55vh; min-height: 380px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  /* HERO */
  .hero { min-height: 100svh; }

  .hero-name {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero-first,
  .hero-last {
    font-size: clamp(2rem, 12vw, 3.5rem);
    flex: none;
    text-align: center;
  }

  .hero-photo-wrap {
    width: 140px;
    height: 175px;
    order: -1; /* photo first on mobile */
  }

  .hero-tagline { font-size: 0.95rem; padding: 0 8px; }
  .hero-scroll-hint { display: none; }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-quote blockquote { font-size: 1.05rem; padding-left: 20px; }
  .about-bio p { font-size: 0.97rem; }

  /* BANNER */
  .banner { height: 50vh; min-height: 320px; }
  .banner-title { font-size: clamp(1.6rem, 6vw, 2.8rem); }

  /* PROJECTS DESC */
  .projects-desc-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .projects-desc-title { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* PROJECTS GRID */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .project-card-img { height: 200px; }

  /* GALLERY */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item { height: 180px; }

  /* BLOG — mobile: single column, hero stacks vertically */
  .blog-section .section-heading { margin-bottom: 32px; }
  .blog-grid { grid-template-columns: 1fr; gap: 0; }
  .blog-grid .blog-card:first-child { flex-direction: column; min-height: auto; }
  .blog-grid .blog-card:first-child .blog-card-img { width: 100%; height: 220px; }
  .blog-grid .blog-card:first-child .blog-card-body { padding: 24px; }
  .blog-grid .blog-card:first-child .blog-title { font-size: 1.3rem; }
  .blog-grid .blog-card:not(:first-child):nth-child(3n+2),
  .blog-grid .blog-card:not(:first-child):nth-child(3n+0) { border-left: none; }
  .blog-grid .blog-card:nth-child(2) { border-left: none; }
  .blog-grid .blog-card:nth-child(4) { grid-column: auto; border-right: none; }
  .blog-grid .blog-card:nth-child(5) { grid-column: auto; max-width: none; justify-self: stretch; }
  .blog-grid .blog-card:nth-child(n+5) .blog-card-img { height: 180px; }
  .blog-grid .blog-card:nth-child(n+5) .blog-excerpt { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .blog-card-img { height: 200px; }
  .blog-card-body { padding: 20px; }
  .blog-title { font-size: 1rem; line-height: 1.4; }
  .blog-excerpt { font-size: 0.87rem; margin-bottom: 18px; }

  /* CONTACT */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-socials { gap: 12px; }
  .social-link { width: 44px; height: 44px; }
  .social-link svg { width: 16px; height: 16px; }

  /* FORM */
  .form-group input,
  .form-group textarea { padding: 14px 16px; font-size: 0.9rem; }

  /* SECTION HEADINGS */
  .section-heading { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-legal { justify-content: center; }
  .footer-socials { justify-content: center; }
}

/* Touch devices: always show info button (no hover available) */
@media (hover: none) {
  .gallery-info-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   SUBSCRIBE SECTION
═══════════════════════════════════════════════════════════ */
.subscribe-section {
  position: relative;
  background: var(--navy);
  padding: 96px 0;
  overflow: hidden;
}

.subscribe-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(201,168,76,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(201,168,76,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.subscribe-inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
  max-width: 780px;
  margin: 0 auto;
}

/* Header */
.subscribe-header { text-align: center; }

.subscribe-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.subscribe-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.subscribe-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* Form fields */
.subscribe-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.subscribe-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subscribe-field label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.subscribe-field label svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.subscribe-field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.subscribe-field input::placeholder { color: rgba(255,255,255,0.25); }

.subscribe-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

/* Footer row */
.subscribe-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.subscribe-privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.5;
}

.subscribe-privacy svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: rgba(255,255,255,0.30);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Subscribe button */
.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 18px rgba(201,168,76,0.28);
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #d4a93a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.40);
}

.subscribe-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.subscribe-btn-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.subscribe-btn:hover .subscribe-btn-arrow {
  transform: translateX(3px);
}

/* Success state */
.subscribe-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(46,110,68,0.2);
  border: 1px solid rgba(46,160,80,0.35);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 4px;
}

.subscribe-success.visible { display: flex; }

.subscribe-success svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #4ade80;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.subscribe-success div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.subscribe-success strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4ade80;
}

.subscribe-success span {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
}

/* Responsive */
@media (max-width: 900px) {
  .subscribe-fields { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 600px) {
  .subscribe-section { padding: 72px 0; }
  .subscribe-inner { gap: 36px; }
  .subscribe-fields { grid-template-columns: 1fr; gap: 12px; }
  .subscribe-footer { flex-direction: column; align-items: stretch; gap: 14px; }
  .subscribe-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section-pad { padding: 52px 0; }

  /* HERO */
  .hero-first,
  .hero-last { font-size: clamp(1.7rem, 10vw, 2.8rem); }
  .hero-photo-wrap { width: 120px; height: 150px; }
  .hero-content { gap: 28px; }

  /* GALLERY */
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-item { height: 180px; }

  /* PROJECTS */
  .project-card-body { padding: 20px 20px 28px; }

  /* BANNER */
  .banner { height: 45vh; min-height: 280px; }

  /* BLOG */
  .blog-card-img { height: 200px; }
  .blog-card-body { padding: 18px; }
  .blog-title { font-size: 0.97rem; }
  .blog-excerpt { font-size: 0.83rem; line-height: 1.65; }
  .blog-date { font-size: 0.62rem; }

  /* BUTTONS */
  .btn { padding: 14px 28px; font-size: 0.72rem; }

  /* CONTACT */
  .about-cta-wrap,
  .contact-socials { flex-wrap: wrap; }

  /* SUBSCRIBE */
  .subscribe-inner { gap: 40px; }
  .subscribe-fields { grid-template-columns: 1fr; gap: 14px; }
  .subscribe-footer { flex-direction: column; align-items: stretch; gap: 16px; }
  .subscribe-btn { width: 100%; justify-content: center; }

  /* GALLERY MODAL — slides up from bottom, scrollable */
  .gallery-modal {
    padding: 0;
    align-items: flex-end;
  }
  .gallery-modal-card {
    width: 100%;
    border-radius: 10px 10px 0 0;
    max-height: 88vh;
    overflow-y: auto;
  }
  .gallery-modal-body {
    padding: 20px 16px;
    gap: 14px;
  }
  .gallery-modal-header { padding: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — ULTRA-SMALL (≤ 360px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .container { width: 96%; }
  .section-pad { padding: 44px 0; }

  .hero-first,
  .hero-last { font-size: clamp(1.5rem, 11vw, 2.2rem); }

  .nav-links { padding: 80px 24px 40px; }

  .btn { padding: 13px 22px; font-size: 0.7rem; }

  .project-card-body { padding: 16px 16px 22px; }
  .blog-card-body    { padding: 14px; }
  .blog-card-img     { height: 170px; }

  .section-heading { font-size: clamp(1.5rem, 8vw, 2rem); }

  .footer-inner { gap: 20px; }
  .social-link  { width: 40px; height: 40px; }
}
